mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
3 lines
31 KiB
XML
3 lines
31 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1081px" height="1259px" viewBox="-0.5 -0.5 1081 1259" content="<mxfile host="app.diagrams.net" modified="2020-03-20T14:14:46.526Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" etag="NO_O0eu1dC2hdwInb0WO" version="12.8.8" type="google"><diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">7V1tc9q6Ev41DOTMhPELNuRjIGlPT5PT3CZtb+4XxrEFqDEWtUUC/fVXkiW/STYmweSlJDNgy5IsaZ9d7a5WomWO5quPobOYXSIP+C1D81Yt86xlGLrdN8kXTVnHKSc9I06YhtDjmdKEa/gb8ESNpy6hB6JcRoyQj+Ein+iiIAAuzqU5YYge89kmyM+/deFMgZRw7Tq+nPoDengWpw6Mfpr+N4DTmXizbp/ET+aOyMx7Es0cDz1mkszzljkKEcLx1Xw1Aj4dPDEuPz6tf/gX9/bHf/4T/XK+DT/f/Pv9OK7swzZFki6EIMBPrtq/Hd48mD8+zK2ftnF8//V/6+icF9EeHH/Jx2uxxjMU0O4CvFx0F2veebwWIxqiZeABWqvWMoePM4jB9cJx6dNHgiGSNsNzn9zp5HKCAsxBoZMRG059J4p40QiH6D6hCs2dDDF9/ABCDAkhT304DUgaRgtRIW9M3YHh+WiFYJWBBR+ojwDNAQ5JTzX+tMfHhWPeGPD7xxRBuiYyzTLwsWye6HDYTpO6U9KQC04dNaV6Uyf8fbn2Prv3g2/jwX3fcn4eGz2JVBJlgEegz29RSOg4RYHjn6epwzzt0jwXiA4u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fdQ+OgjhZwlhe+szUeoev9Rryo9hK89fIg0KIaac2c5ilv48ADuKq839dsUtbULlaZdpLtX6z5PVkHqxZhsOvCjdv5668ZrXXN6FDbAPzunXnIoaswaEJazeGfGsTVkHbWYfGyb64iehNgUeCp3j3e6X6JefdJ5INBhMUDgnKGYhQDOHyug7BKk/RvPQY8CnBpUoLIp+UlE8czCTsagX5aOUt5Hv4ZL/QErN0E0aT6wt4II1g3Eon/DaB52ntuROxODON39YTek8fTncRSL4plg8OVhllxETut1rvXywlbD2NgZSCAy8ktBBq2C29otRxnVDB+1C6GC/uHPuyaGD5Db9Bb44e/o7hub5/wE=</diagram></mxfile>" style="background-color: rgb(255, 255, 255);"><defs><clipPath id="mx-clip-48-402-352-26-0"><rect x="48" y="402" width="352" height="26"/></clipPath><clipPath id="mx-clip-48-428-352-26-0"><rect x="48" y="428" width="352" height="26"/></clipPath><clipPath id="mx-clip-48-454-352-26-0"><rect x="48" y="454" width="352" height="26"/></clipPath><clipPath id="mx-clip-48-562-502-26-0"><rect x="48" y="562" width="502" height="26"/></clipPath><clipPath id="mx-clip-48-588-502-26-0"><rect x="48" y="588" width="502" height="26"/></clipPath><clipPath id="mx-clip-48-640-502-26-0"><rect x="48" y="640" width="502" height="26"/></clipPath><clipPath id="mx-clip-48-666-502-26-0"><rect x="48" y="666" width="502" height="26"/></clipPath><clipPath id="mx-clip-48-692-502-40-0"><rect x="48" y="692" width="502" height="40"/></clipPath><clipPath id="mx-clip-48-732-502-26-0"><rect x="48" y="732" width="502" height="26"/></clipPath><clipPath id="mx-clip-48-758-502-26-0"><rect x="48" y="758" width="502" height="26"/></clipPath><clipPath id="mx-clip-598-562-432-26-0"><rect x="598" y="562" width="432" height="26"/></clipPath><clipPath id="mx-clip-598-588-432-38-0"><rect x="598" y="588" width="432" height="38"/></clipPath><clipPath id="mx-clip-48-962-372-64-0"><rect x="48" y="962" width="372" height="64"/></clipPath><clipPath id="mx-clip-48-1026-372-38-0"><rect x="48" y="1026" width="372" height="38"/></clipPath><clipPath id="mx-clip-48-1064-372-72-0"><rect x="48" y="1064" width="372" height="72"/></clipPath><clipPath id="mx-clip-48-1136-372-38-0"><rect x="48" y="1136" width="372" height="38"/></clipPath></defs><g><rect x="24" y="291" width="1040" height="560" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1038px; height: 1px; padding-top: 298px; margin-left: 25px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">python setup.py</div></div></div></foreignObject><text x="544" y="310" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">python setup.py</text></switch></g><path d="M 544 91 L 544 124.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 544 129.88 L 540.5 122.88 L 544 124.63 L 547.5 122.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="424" y="51" width="240" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 238px; height: 1px; padding-top: 71px; margin-left: 425px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">'python_setup' step on LGTM.com</div></div></div></foreignObject><text x="544" y="75" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">'python_setup' step on LGTM.com</text></switch></g><path d="M 544 171 L 544 204.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 544 209.88 L 540.5 202.88 L 544 204.63 L 547.5 202.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 191px; margin-left: 544px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">python ${LGTM_BUILDTOOLS}/python/setup.py</div></div></div></foreignObject><text x="544" y="194" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">python ${LGTM_BUILDTOOLS}/python/setup.py</text></switch></g><rect x="404" y="131" width="280" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 278px; height: 1px; padding-top: 151px; margin-left: 405px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">lgtm-buildtools/buildtools/python_setup.sh</div></div></div></foreignObject><text x="544" y="155" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">lgtm-buildtools/buildtools/python_setup.sh</text></switch></g><path d="M 544 31 L 544 44.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 544 49.88 L 540.5 42.88 L 544 44.63 L 547.5 42.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 544 251 L 544 284.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 544 289.88 L 540.5 282.88 L 544 284.63 L 547.5 282.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 265px; margin-left: 545px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; "><font style="font-size: 11px">subprocess.call(["python", "$SEMMLE_DIST/tools/setup.py"])</font></div></div></div></foreignObject><text x="545" y="269" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">subprocess.call(["python", "$SEMMLE_DIST/tools/setup.py"])</text></switch></g><rect x="414" y="211" width="260" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 231px; margin-left: 415px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; "><div style="text-align: left"><span style="white-space: nowrap">lgtm-buildtools/buildtools/python/setup.py</span></div></div></div></div></foreignObject><text x="544" y="235" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">lgtm-buildtools/buildtools/python/setup.py</text></switch></g><path d="M 114 351 L 114 364.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 114 369.88 L 110.5 362.88 L 114 364.63 L 117.5 362.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 404 462 L 424.06 462.06 L 424.06 503 L 299 503 L 299 524.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 299 529.88 L 295.5 522.88 L 299 524.63 L 302.5 522.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 44 397 L 44 371 L 404 371 L 404 397" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 44 397 L 44 475 L 404 475 L 404 397" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 44 397 L 404 397" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" font-size="12px"><text x="45.5" y="388.5">setup.py</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-402-352-26-0)" font-size="12px"><text x="49.5" y="414.5">1) add zipfile to path</text></g><rect x="44" y="423" width="360" height="26" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-428-352-26-0)" font-size="12px"><text x="49.5" y="440.5">2) version, root, requirement_files = buildtools.discover.discover()</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-454-352-26-0)" font-size="12px"><text x="49.5" y="466.5">3) buildtools.install.main(version, root, requirement_files)</text></g><path d="M 44 557 L 44 531 L 554 531 L 554 557" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 44 557 L 44 779 L 554 779 L 554 557" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 44 557 L 554 557" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" font-size="12px"><text x="45.5" y="548.5">buildtools.install.main(version, root, requirement_files)</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-562-502-26-0)" font-size="12px"><text x="49.5" y="574.5">1) venv = buildtools.install.Venv("$LGTM_WORKSPACE/venv", version)</text></g><rect x="44" y="583" width="510" height="26" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-588-502-26-0)" font-size="12px"><text x="49.5" y="600.5">2) venv.create()</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 500px; height: 1px; padding-top: 616px; margin-left: 50px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 22px; overflow: hidden; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; ">3) requirements_from_setup = "$LGTM_WORKSPACE/setup_requirements.txt"</div></div></div></foreignObject><text x="50" y="628" fill="#000000" font-family="Helvetica" font-size="12px">3) requirements_from_setup = "$LGTM_WORKSPACE/setup_requirements.txt"</text></switch></g><rect x="44" y="635" width="510" height="26" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-640-502-26-0)" font-size="12px"><text x="49.5" y="652.5">4) args = [root, requirements_from_setup, system_packages(version)]</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-666-502-26-0)" font-size="12px"><text x="49.5" y="678.5">5) subprocess.call([venv.venv_executable, 'convert_setup.py'] + args)</text></g><rect x="44" y="687" width="510" height="40" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-692-502-40-0)" font-size="12px"><text x="49.5" y="704.5">6) if os.path.exists(requirements_from_setup):</text><text x="49.5" y="718.5"> requirement_files = [ requirements_from_setup ] + requirement_files[1:]</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-732-502-26-0)" font-size="12px"><text x="49.5" y="744.5">7) requirements = unify_requirements.gather(requirement_files)</text></g><rect x="44" y="753" width="510" height="26" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-758-502-26-0)" font-size="12px"><text x="49.5" y="770.5">8) buildtools.auto_install.install(requirements, venv)</text></g><path d="M 554 596 L 574.06 596.06 L 574.06 539.12 L 587.63 539.08" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 592.88 539.06 L 585.89 542.58 L 587.63 539.08 L 585.87 535.58 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 594 557 L 594 531 L 1034 531 L 1034 557" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 594 557 L 594 661 L 1034 661 L 1034 557" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 594 557 L 1034 557" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" font-size="12px"><text x="595.5" y="548.5">buildtools.install.Venv.create()</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-598-562-432-26-0)" font-size="12px"><text x="599.5" y="574.5">1) exe = buildtools.version.executable(self.version)</text></g><rect x="594" y="583" width="440" height="38" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-598-588-432-38-0)" font-size="12px"><text x="599.5" y="600.5">2) if self.version == 2:</text><text x="599.5" y="614.5"> subprocess.check_call(exe, ["-m", "virtualenv", "$LGTM_WORKSPACE/venv"</text><text x="599.5" y="628.5">]</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 430px; height: 1px; padding-top: 628px; margin-left: 600px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 36px; overflow: hidden; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; ">3) if self.version == 3:<br style="padding: 0px ; margin: 0px" /> subprocess.check_call(exe, ["-m", "venv", "$LGTM_WORKSPACE/venv"</div></div></div></foreignObject><text x="600" y="640" fill="#000000" font-family="Helvetica" font-size="12px">3) if self.version == 3:...</text></switch></g><rect x="24" y="891" width="1040" height="350" fill="#ffffff" stroke="#000000" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1038px; height: 1px; padding-top: 898px; margin-left: 25px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; font-weight: bold; white-space: normal; word-wrap: normal; ">$LGTM_WORKSPACE/venv/bin/python convert_setup.py</div></div></div></foreignObject><text x="544" y="910" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">$LGTM_WORKSPACE/venv/bin/python convert_setup.py</text></switch></g><path d="M 554 674 L 564.06 674.06 L 564.06 871 L 544.06 871 L 544.06 884.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 544.06 889.88 L 540.56 882.88 L 544.06 884.63 L 547.56 882.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 114 911 L 114 924.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 114 929.88 L 110.5 922.88 L 114 924.63 L 117.5 922.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 604 1192 L 624.06 1192.06 L 624.06 950.29 L 645.47 950.29" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 650.72 950.29 L 643.72 953.79 L 645.47 950.29 L 643.72 946.79 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><rect x="464" y="1172" width="140" height="40" fill="#ffffff" stroke="#000000" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 1192px; margin-left: 465px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; font-weight: bold; white-space: normal; word-wrap: normal; ">running root/setup.py</div></div></div></foreignObject><text x="534" y="1196" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">running root/setup.py</text></switch></g><path d="M 424 1192 L 457.63 1192" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 462.88 1192 L 455.88 1195.5 L 457.63 1192 L 455.88 1188.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 44 957 L 44 931 L 424 931 L 424 957" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 44 957 L 44 1215 L 424 1215 L 424 957" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 44 957 L 424 957" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" font-size="12px"><text x="45.5" y="948.5">convert_setup.py</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-962-372-64-0)" font-size="12px"><text x="49.5" y="974.5">1) root = sys.argv[1]</text><text x="49.5" y="988.5"> global requirements_file_path = sys.argv[2]</text><text x="49.5" y="1002.5"> sys.path.extend(sys.argv[3:])</text><text x="49.5" y="1016.5"> override = os.environ.get("LGTM_PYTHON_SETUP_SETUP_PY")</text></g><rect x="44" y="1021" width="380" height="38" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-1026-372-38-0)" font-size="12px"><text x="49.5" y="1038.5">2) if override == "false":</text><text x="49.5" y="1052.5"> sys.exit(0)</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-1064-372-72-0)" font-size="12px"><text x="49.5" y="1076.5">3) if override:</text><text x="49.5" y="1090.5"> setup_file_path = os.path.join(override, 'setup.py')</text><text x="49.5" y="1104.5"> else:</text><text x="49.5" y="1118.5"> setup_file_path = os.path.join(root, 'setup.py')</text></g><rect x="44" y="1131" width="380" height="38" fill="#eeeeee" stroke="none" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-48-1136-372-38-0)" font-size="12px"><text x="49.5" y="1148.5">4) setattr(setuptools, "setup", setup_interceptor)</text><text x="49.5" y="1162.5"> setattr(distutils.core, "setup", setup_interceptor)</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 370px; height: 1px; padding-top: 1176px; margin-left: 50px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 42px; overflow: hidden; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; ">5) imp.load_source(setup_file_path) <br /><i> <font color="#808080"> </font><font color="#4d4d4d">as though invoked as './setup.py build'</font></i></div></div></div></foreignObject><text x="50" y="1188" fill="#000000" font-family="Helvetica" font-size="12px">5) imp.load_source(setup_file_path)...</text></switch></g><path d="M 654 967 L 654 941 L 1014 941 L 1014 967" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 654 967 L 654 1049 L 1014 1049 L 1014 967" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 654 967 L 1014 967" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" font-size="12px"><text x="655.5" y="958.5">convert_setup.setup_interceptor(**args)</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 350px; height: 1px; padding-top: 974px; margin-left: 660px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 40px; overflow: hidden; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; ">1) requirements = gather requirements from **args <br /><i>('requires', 'install_requires', 'extras_require', 'dependency_links')</i></div></div></div></foreignObject><text x="660" y="986" fill="#000000" font-family="Helvetica" font-size="12px">1) requirements = gather requirements from **args...</text></switch></g><rect x="654" y="1011" width="360" height="38" fill="#eeeeee" stroke="none" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 350px; height: 1px; padding-top: 1018px; margin-left: 660px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 34px; overflow: hidden; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; ">2) write 'requirements' to 'global requirements_file_path' <br /><i><font color="#4d4d4d"> ("$LGTM_WORKSPACE/setup_requirements.txt")</font></i></div></div></div></foreignObject><text x="660" y="1030" fill="#000000" font-family="Helvetica" font-size="12px">2) write 'requirements' to 'global requirements_file_path'...</text></switch></g><path d="M 594 779 L 594 753 L 1034 753 L 1034 779" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 594 779 L 594 833 L 1034 833 L 1034 779" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 594 779 L 1034 779" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" font-size="12px"><text x="595.5" y="770.5">buildtools.auto_install.install(requirements, venv)</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 430px; height: 1px; padding-top: 786px; margin-left: 600px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 50px; overflow: hidden; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; "><i>informally what boils down to</i><br />for req in requirements:<br /> run $LGTM_WORKSPACE/venv/bin/python -m pip install 'req'</div></div></div></foreignObject><text x="600" y="798" fill="#000000" font-family="Helvetica" font-size="12px">informally what boils down to...</text></switch></g><path d="M 554 766 L 587.63 766.1" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 592.88 766.12 L 585.87 769.6 L 587.63 766.1 L 585.89 762.6 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://desk.draw.io/support/solutions/articles/16000042487" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg> |