2023-10-02T13:53:36,260 Created temporary directory: /tmp/pip-build-tracker-eiakqmks 2023-10-02T13:53:36,261 Initialized build tracking at /tmp/pip-build-tracker-eiakqmks 2023-10-02T13:53:36,261 Created build tracker: /tmp/pip-build-tracker-eiakqmks 2023-10-02T13:53:36,262 Entered build tracker: /tmp/pip-build-tracker-eiakqmks 2023-10-02T13:53:36,263 Created temporary directory: /tmp/pip-wheel-ragpn5ro 2023-10-02T13:53:36,266 Created temporary directory: /tmp/pip-ephem-wheel-cache-hbin0rb1 2023-10-02T13:53:36,289 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-10-02T13:53:36,293 2 location(s) to search for versions of body-scan: 2023-10-02T13:53:36,293 * https://pypi.org/simple/body-scan/ 2023-10-02T13:53:36,293 * https://www.piwheels.org/simple/body-scan/ 2023-10-02T13:53:36,294 Fetching project page and analyzing links: https://pypi.org/simple/body-scan/ 2023-10-02T13:53:36,294 Getting page https://pypi.org/simple/body-scan/ 2023-10-02T13:53:36,296 Found index url https://pypi.org/simple/ 2023-10-02T13:53:36,436 Fetched page https://pypi.org/simple/body-scan/ as application/vnd.pypi.simple.v1+json 2023-10-02T13:53:36,441 Found link https://files.pythonhosted.org/packages/77/dc/4976c62af72e792f4f7db06b16e1e198f94fb784b77eba4ff5971b3353a8/BODY_SCAN-0.0.4.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.4 2023-10-02T13:53:36,442 Found link https://files.pythonhosted.org/packages/01/8c/c52ee48475ed68b45b98392b3bfd2e663ec0145f32885f4d3c33e2bb8bca/BODY_SCAN-0.0.5.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.5 2023-10-02T13:53:36,442 Found link https://files.pythonhosted.org/packages/6c/11/bfba6fac13e340bd3c5fdc1e1fb983f9620253b819098776d5233a1a5d92/BODY_SCAN-0.0.6.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.6 2023-10-02T13:53:36,443 Found link https://files.pythonhosted.org/packages/7e/d4/a65b4e09fb2e6fcb68a92ae4e46f0d31053ff97db90da1c919d5dd901597/BODY_SCAN-0.0.7.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.7 2023-10-02T13:53:36,443 Found link https://files.pythonhosted.org/packages/01/99/28ef7ebbedaa67d7466130d182bd36f23e6bdbd91329bf3d5b0bc2902ff2/BODY_SCAN-0.0.8.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.8 2023-10-02T13:53:36,444 Found link https://files.pythonhosted.org/packages/0c/06/f7f5639e4d08db4bddc61e23a7d515fd7fd4155c543e29c93c4928b01ddf/BODY_SCAN-0.0.9.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.9 2023-10-02T13:53:36,445 Found link https://files.pythonhosted.org/packages/e1/0b/9761b575e8dc7f822e7ad9a61197b0f837c7ba3c328eb458e0047bc16fd2/BODY_SCAN-0.0.10.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.10 2023-10-02T13:53:36,446 Found link https://files.pythonhosted.org/packages/d2/39/f97e5e82655f5acba2ae8181371e3aeee766f136902395006f467f75c83e/BODY_SCAN-0.0.11.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.11 2023-10-02T13:53:36,447 Found link https://files.pythonhosted.org/packages/e1/2b/d62073bb40f891cfc72057c5a70b3b0c6f28fb75160da25f3debba05d52c/BODY_SCAN-0.0.12.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.12 2023-10-02T13:53:36,448 Found link https://files.pythonhosted.org/packages/e6/dc/318f507bf42aee42ecbfeb89aa792f0d6aaa8f4113d0d6369c4128a868b2/BODY_SCAN-0.0.13.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.13 2023-10-02T13:53:36,448 Found link https://files.pythonhosted.org/packages/39/6a/9c41261dc1211e0799e7579d6bb3c1e872f952f8333cf7d29fcaa3522406/BODY_SCAN-0.0.14.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.14 2023-10-02T13:53:36,449 Found link https://files.pythonhosted.org/packages/5b/ae/3fa5ba9379e44d9a5cab2474ce36172334f49c1b8a6e8024ec97e3978e2d/BODY_SCAN-0.0.15.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.15 2023-10-02T13:53:36,449 Found link https://files.pythonhosted.org/packages/4a/7b/2bf405077a418312446509ddabd2c8d002e8af140f7793ccddf28678961d/BODY_SCAN-0.0.16.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.16 2023-10-02T13:53:36,450 Found link https://files.pythonhosted.org/packages/68/f2/983e8acc6c0c023262813b15fcfe0e009ece07dbf410330f91efd0a8b8c4/BODY_SCAN-0.0.17.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.17 2023-10-02T13:53:36,451 Found link https://files.pythonhosted.org/packages/fe/0c/4536463d789cd0af663160d6067ee38f781a94d3f32d0813f768043ad5d9/BODY_SCAN-0.0.18.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.18 2023-10-02T13:53:36,451 Found link https://files.pythonhosted.org/packages/06/ef/d681b5d6e3fac73ea73a92b7405dc0753be266f6277288197a26522acbd8/BODY_SCAN-0.0.19.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.19 2023-10-02T13:53:36,452 Found link https://files.pythonhosted.org/packages/bc/a4/64783f579d22ef1abc746160acddc0e45647fac921396c25e74ddf55bc70/BODY_SCAN-0.0.20.tar.gz (from https://pypi.org/simple/body-scan/), version: 0.0.20 2023-10-02T13:53:36,453 Fetching project page and analyzing links: https://www.piwheels.org/simple/body-scan/ 2023-10-02T13:53:36,453 Getting page https://www.piwheels.org/simple/body-scan/ 2023-10-02T13:53:36,454 Found index url https://www.piwheels.org/simple/ 2023-10-02T13:53:36,613 Fetched page https://www.piwheels.org/simple/body-scan/ as text/html 2023-10-02T13:53:36,616 Skipping link: No binaries permitted for body-scan: https://www.piwheels.org/simple/body-scan/BODY_SCAN-0.0.9-py3-none-any.whl#sha256=f3f38b657baa7d42a5723d1e6662fab7119e81a91c3234a1d68309d325808d62 (from https://www.piwheels.org/simple/body-scan/) 2023-10-02T13:53:36,617 Skipping link: No binaries permitted for body-scan: https://www.piwheels.org/simple/body-scan/BODY_SCAN-0.0.8-py3-none-any.whl#sha256=b9f54ed05f7df8ac520a5344098d064a328cc616bae8a220989deabf6a7901e1 (from https://www.piwheels.org/simple/body-scan/) 2023-10-02T13:53:36,617 Skipping link: No binaries permitted for body-scan: https://www.piwheels.org/simple/body-scan/BODY_SCAN-0.0.7-py3-none-any.whl#sha256=5a2e6708cc66b7576d6772cc72a8dec53b05a5cbf2f46880f3f80e405a4ca0bb (from https://www.piwheels.org/simple/body-scan/) 2023-10-02T13:53:36,618 Skipping link: No binaries permitted for body-scan: https://www.piwheels.org/simple/body-scan/BODY_SCAN-0.0.6-py3-none-any.whl#sha256=90f3d906b9a019b4d9dd1ae5f4c46bb24243e3ab6402d6a5ce2b2dbea1491f02 (from https://www.piwheels.org/simple/body-scan/) 2023-10-02T13:53:36,618 Skipping link: No binaries permitted for body-scan: https://www.piwheels.org/simple/body-scan/BODY_SCAN-0.0.5-py3-none-any.whl#sha256=77f25f9133ce1bff3a3cff52eced709f5d9b0069bc81a3552e05263ff5bd9390 (from https://www.piwheels.org/simple/body-scan/) 2023-10-02T13:53:36,619 Skipping link: No binaries permitted for body-scan: https://www.piwheels.org/simple/body-scan/BODY_SCAN-0.0.4-py3-none-any.whl#sha256=ee8f6804722d4cbe2bd07d4ef1011044bf7a3bdcfdb81607ca039b775978e9e9 (from https://www.piwheels.org/simple/body-scan/) 2023-10-02T13:53:36,620 Skipping link: not a file: https://www.piwheels.org/simple/body-scan/ 2023-10-02T13:53:36,620 Skipping link: not a file: https://pypi.org/simple/body-scan/ 2023-10-02T13:53:36,640 Given no hashes to check 1 links for project 'body-scan': discarding no candidates 2023-10-02T13:53:36,658 Collecting body-scan==0.0.10 2023-10-02T13:53:36,661 Created temporary directory: /tmp/pip-unpack-yxeswrou 2023-10-02T13:53:36,873 Downloading BODY_SCAN-0.0.10.tar.gz (5.9 kB) 2023-10-02T13:53:36,913 Added body-scan==0.0.10 from https://files.pythonhosted.org/packages/e1/0b/9761b575e8dc7f822e7ad9a61197b0f837c7ba3c328eb458e0047bc16fd2/BODY_SCAN-0.0.10.tar.gz to build tracker '/tmp/pip-build-tracker-eiakqmks' 2023-10-02T13:53:36,915 Running setup.py (path:/tmp/pip-wheel-ragpn5ro/body-scan_0a4dccb082fe4c679e087d220360aeea/setup.py) egg_info for package body-scan 2023-10-02T13:53:36,916 Created temporary directory: /tmp/pip-pip-egg-info-i9ywew75 2023-10-02T13:53:36,917 Preparing metadata (setup.py): started 2023-10-02T13:53:36,918 Running command python setup.py egg_info 2023-10-02T13:53:38,197 # BODY SCAN 2023-10-02T13:53:38,198 ## EXAMPLE OUTPUT: 2023-10-02T13:53:38,199 ```JSON 2023-10-02T13:53:38,200 { 2023-10-02T13:53:38,200 "PATHS": [ 2023-10-02T13:53:38,201 { 2023-10-02T13:53:38,201 "PATH": "PATH_1_HEALTH.py", 2023-10-02T13:53:38,202 "STATS": { 2023-10-02T13:53:38,202 "PASSES": 2, 2023-10-02T13:53:38,203 "ALARMS": 1 2023-10-02T13:53:38,203 }, 2023-10-02T13:53:38,203 "CHECKS": [ 2023-10-02T13:53:38,204 { 2023-10-02T13:53:38,204 "CHECK": "CHECK 1", 2023-10-02T13:53:38,205 "PASSED": true, 2023-10-02T13:53:38,205 "ELAPSED": [ 2023-10-02T13:53:38,206 5.320599666447379e-05, 2023-10-02T13:53:38,206 "SECONDS" 2023-10-02T13:53:38,207 ] 2023-10-02T13:53:38,207 }, 2023-10-02T13:53:38,208 { 2023-10-02T13:53:38,208 "CHECK": "CHECK 2", 2023-10-02T13:53:38,209 "PASSED": true, 2023-10-02T13:53:38,209 "ELAPSED": [ 2023-10-02T13:53:38,209 1.0949999705189839e-05, 2023-10-02T13:53:38,210 "SECONDS" 2023-10-02T13:53:38,210 ] 2023-10-02T13:53:38,211 }, 2023-10-02T13:53:38,211 { 2023-10-02T13:53:38,212 "CHECK": "CHECK 3", 2023-10-02T13:53:38,212 "PASSED": false, 2023-10-02T13:53:38,213 "EXCEPTION": "Exception('NOT 100%')", 2023-10-02T13:53:38,213 "EXCEPTION TRACE": [ 2023-10-02T13:53:38,214 "Traceback (most recent call last):", 2023-10-02T13:53:38,214 " File \"/REPTILIAN_CLIMATES/MODULES/BODY_SCAN/src/SCAN_PROC/KEG/SCAN.py\", line 69, in SCAN", 2023-10-02T13:53:38,215 " CHECKS [ CHECK ] ()", 2023-10-02T13:53:38,216 " File \"\", line 24, in CHECK_3", 2023-10-02T13:53:38,216 "Exception: NOT 100%" 2023-10-02T13:53:38,217 ] 2023-10-02T13:53:38,217 } 2023-10-02T13:53:38,218 ] 2023-10-02T13:53:38,218 }, 2023-10-02T13:53:38,219 { 2023-10-02T13:53:38,220 "PATH": "PATH_2_HEALTH.py", 2023-10-02T13:53:38,220 "EMPTY": true 2023-10-02T13:53:38,221 } 2023-10-02T13:53:38,221 ], 2023-10-02T13:53:38,222 "STATS": { 2023-10-02T13:53:38,223 "EMPTY": 1, 2023-10-02T13:53:38,223 "CHECKS": { 2023-10-02T13:53:38,224 "PASSES": 2, 2023-10-02T13:53:38,224 "ALARMS": 1 2023-10-02T13:53:38,225 } 2023-10-02T13:53:38,225 } 2023-10-02T13:53:38,226 } 2023-10-02T13:53:38,226 ``` 2023-10-02T13:53:38,227 ## HOW TO WRITE CHECKS: 2023-10-02T13:53:38,229 The "CHECKS" dictionary is retrieved with the python "exec" 2023-10-02T13:53:38,229 and then each "CHECK" in "CHECKS" is run. 2023-10-02T13:53:38,231 ``` 2023-10-02T13:53:38,231 SUITE_1_HEALTH.py 2023-10-02T13:53:38,232 ``` 2023-10-02T13:53:38,232 ``` 2023-10-02T13:53:38,233 def CHECK_1 (): 2023-10-02T13:53:38,233 print ("CHECK 1") 2023-10-02T13:53:38,235 def CHECK_2 (): 2023-10-02T13:53:38,235 raise Exception ("NOT 100%") 2023-10-02T13:53:38,236 CHECKS = { 2023-10-02T13:53:38,237 "CHECK 1": CHECK_1, 2023-10-02T13:53:38,237 "CHECK 2": CHECK_2 2023-10-02T13:53:38,238 } 2023-10-02T13:53:38,238 ``` 2023-10-02T13:53:38,239 ## HOW TO START THE BODY SCANNER 2023-10-02T13:53:38,240 ### REQUIRED 2023-10-02T13:53:38,241 ``` 2023-10-02T13:53:38,241 "GLOB" is all the files that are sent to the scanner. 2023-10-02T13:53:38,242 ``` 2023-10-02T13:53:38,243 ### OPTIONAL 2023-10-02T13:53:38,244 ``` 2023-10-02T13:53:38,244 "MODULE_PATHS" is folders that are added to "sys.path" 2023-10-02T13:53:38,245 "RELATIVE_PATH" is the folders to remove from the paths in the output 2023-10-02T13:53:38,245 ``` 2023-10-02T13:53:38,247 ### NOTES 2023-10-02T13:53:38,247 ``` 2023-10-02T13:53:38,247 Currently all the checks aren't run in parallel, 2023-10-02T13:53:38,248 but sequential order of paths found in glob is not guaranteed. 2023-10-02T13:53:38,248 ``` 2023-10-02T13:53:38,249 ```python3 2023-10-02T13:53:38,250 import BODY_SCAN 2023-10-02T13:53:38,251 import pathlib 2023-10-02T13:53:38,251 THIS_FOLDER = pathlib.Path (__file__).parent.resolve () 2023-10-02T13:53:38,252 from os.path import dirname, join, normpath 2023-10-02T13:53:38,253 SEARCH = normpath (join (THIS_FOLDER, "MODULE")) 2023-10-02T13:53:38,254 # 2023-10-02T13:53:38,254 # These are added to the sys.path before scan is started. 2023-10-02T13:53:38,255 # 2023-10-02T13:53:38,255 MODULE_PATH = [ 2023-10-02T13:53:38,255 normpath (join (SEARCH, "MODULES")) 2023-10-02T13:53:38,256 ] 2023-10-02T13:53:38,257 SCAN = BODY_SCAN.START ( 2023-10-02T13:53:38,257 # REQUIRED 2023-10-02T13:53:38,258 GLOB = SEARCH + '/**/*HEALTH.py', 2023-10-02T13:53:38,259 # OPTIONAL 2023-10-02T13:53:38,259 MODULE_PATHS = MODULE_PATH, 2023-10-02T13:53:38,260 # OPTIONAL 2023-10-02T13:53:38,261 RELATIVE_PATH = SEARCH 2023-10-02T13:53:38,261 ) 2023-10-02T13:53:38,262 ``` 2023-10-02T13:53:38,263 running egg_info 2023-10-02T13:53:38,264 creating /tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info 2023-10-02T13:53:38,264 writing /tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/PKG-INFO 2023-10-02T13:53:38,265 writing dependency_links to /tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/dependency_links.txt 2023-10-02T13:53:38,266 writing requirements to /tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/requires.txt 2023-10-02T13:53:38,266 writing top-level names to /tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/top_level.txt 2023-10-02T13:53:38,267 writing manifest file '/tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/SOURCES.txt' 2023-10-02T13:53:38,340 reading manifest file '/tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/SOURCES.txt' 2023-10-02T13:53:38,345 adding license file 'LICENSE' 2023-10-02T13:53:38,347 writing manifest file '/tmp/pip-pip-egg-info-i9ywew75/BODY_SCAN.egg-info/SOURCES.txt' 2023-10-02T13:53:38,458 Preparing metadata (setup.py): finished with status 'done' 2023-10-02T13:53:38,462 Source in /tmp/pip-wheel-ragpn5ro/body-scan_0a4dccb082fe4c679e087d220360aeea has version 0.0.10, which satisfies requirement body-scan==0.0.10 from https://files.pythonhosted.org/packages/e1/0b/9761b575e8dc7f822e7ad9a61197b0f837c7ba3c328eb458e0047bc16fd2/BODY_SCAN-0.0.10.tar.gz 2023-10-02T13:53:38,463 Removed body-scan==0.0.10 from https://files.pythonhosted.org/packages/e1/0b/9761b575e8dc7f822e7ad9a61197b0f837c7ba3c328eb458e0047bc16fd2/BODY_SCAN-0.0.10.tar.gz from build tracker '/tmp/pip-build-tracker-eiakqmks' 2023-10-02T13:53:38,468 Created temporary directory: /tmp/pip-unpack-kldm0u_3 2023-10-02T13:53:38,469 Created temporary directory: /tmp/pip-unpack-3botyngb 2023-10-02T13:53:38,475 Building wheels for collected packages: body-scan 2023-10-02T13:53:38,479 Created temporary directory: /tmp/pip-wheel-vq7xggg9 2023-10-02T13:53:38,480 Building wheel for body-scan (setup.py): started 2023-10-02T13:53:38,481 Destination directory: /tmp/pip-wheel-vq7xggg9 2023-10-02T13:53:38,481 Running command python setup.py bdist_wheel 2023-10-02T13:53:39,866 # BODY SCAN 2023-10-02T13:53:39,867 ## EXAMPLE OUTPUT: 2023-10-02T13:53:39,868 ```JSON 2023-10-02T13:53:39,869 { 2023-10-02T13:53:39,870 "PATHS": [ 2023-10-02T13:53:39,871 { 2023-10-02T13:53:39,872 "PATH": "PATH_1_HEALTH.py", 2023-10-02T13:53:39,872 "STATS": { 2023-10-02T13:53:39,873 "PASSES": 2, 2023-10-02T13:53:39,874 "ALARMS": 1 2023-10-02T13:53:39,875 }, 2023-10-02T13:53:39,876 "CHECKS": [ 2023-10-02T13:53:39,877 { 2023-10-02T13:53:39,878 "CHECK": "CHECK 1", 2023-10-02T13:53:39,879 "PASSED": true, 2023-10-02T13:53:39,881 "ELAPSED": [ 2023-10-02T13:53:39,882 5.320599666447379e-05, 2023-10-02T13:53:39,883 "SECONDS" 2023-10-02T13:53:39,884 ] 2023-10-02T13:53:39,885 }, 2023-10-02T13:53:39,886 { 2023-10-02T13:53:39,887 "CHECK": "CHECK 2", 2023-10-02T13:53:39,888 "PASSED": true, 2023-10-02T13:53:39,889 "ELAPSED": [ 2023-10-02T13:53:39,890 1.0949999705189839e-05, 2023-10-02T13:53:39,891 "SECONDS" 2023-10-02T13:53:39,892 ] 2023-10-02T13:53:39,893 }, 2023-10-02T13:53:39,894 { 2023-10-02T13:53:39,895 "CHECK": "CHECK 3", 2023-10-02T13:53:39,896 "PASSED": false, 2023-10-02T13:53:39,897 "EXCEPTION": "Exception('NOT 100%')", 2023-10-02T13:53:39,899 "EXCEPTION TRACE": [ 2023-10-02T13:53:39,902 "Traceback (most recent call last):", 2023-10-02T13:53:39,904 " File \"/REPTILIAN_CLIMATES/MODULES/BODY_SCAN/src/SCAN_PROC/KEG/SCAN.py\", line 69, in SCAN", 2023-10-02T13:53:39,933 " CHECKS [ CHECK ] ()", 2023-10-02T13:53:39,936 " File \"\", line 24, in CHECK_3", 2023-10-02T13:53:39,938 "Exception: NOT 100%" 2023-10-02T13:53:39,941 ] 2023-10-02T13:53:39,943 } 2023-10-02T13:53:39,945 ] 2023-10-02T13:53:39,946 }, 2023-10-02T13:53:39,949 { 2023-10-02T13:53:39,951 "PATH": "PATH_2_HEALTH.py", 2023-10-02T13:53:39,954 "EMPTY": true 2023-10-02T13:53:39,956 } 2023-10-02T13:53:39,958 ], 2023-10-02T13:53:39,960 "STATS": { 2023-10-02T13:53:39,962 "EMPTY": 1, 2023-10-02T13:53:39,963 "CHECKS": { 2023-10-02T13:53:39,966 "PASSES": 2, 2023-10-02T13:53:39,968 "ALARMS": 1 2023-10-02T13:53:39,970 } 2023-10-02T13:53:39,972 } 2023-10-02T13:53:39,974 } 2023-10-02T13:53:39,976 ``` 2023-10-02T13:53:39,980 ## HOW TO WRITE CHECKS: 2023-10-02T13:53:39,985 The "CHECKS" dictionary is retrieved with the python "exec" 2023-10-02T13:53:39,987 and then each "CHECK" in "CHECKS" is run. 2023-10-02T13:53:39,995 ``` 2023-10-02T13:53:39,997 SUITE_1_HEALTH.py 2023-10-02T13:53:40,000 ``` 2023-10-02T13:53:40,003 ``` 2023-10-02T13:53:40,004 def CHECK_1 (): 2023-10-02T13:53:40,006 print ("CHECK 1") 2023-10-02T13:53:40,008 def CHECK_2 (): 2023-10-02T13:53:40,010 raise Exception ("NOT 100%") 2023-10-02T13:53:40,012 CHECKS = { 2023-10-02T13:53:40,013 "CHECK 1": CHECK_1, 2023-10-02T13:53:40,014 "CHECK 2": CHECK_2 2023-10-02T13:53:40,015 } 2023-10-02T13:53:40,016 ``` 2023-10-02T13:53:40,019 ## HOW TO START THE BODY SCANNER 2023-10-02T13:53:40,021 ### REQUIRED 2023-10-02T13:53:40,022 ``` 2023-10-02T13:53:40,024 "GLOB" is all the files that are sent to the scanner. 2023-10-02T13:53:40,025 ``` 2023-10-02T13:53:40,027 ### OPTIONAL 2023-10-02T13:53:40,029 ``` 2023-10-02T13:53:40,030 "MODULE_PATHS" is folders that are added to "sys.path" 2023-10-02T13:53:40,031 "RELATIVE_PATH" is the folders to remove from the paths in the output 2023-10-02T13:53:40,032 ``` 2023-10-02T13:53:40,035 ### NOTES 2023-10-02T13:53:40,036 ``` 2023-10-02T13:53:40,037 Currently all the checks aren't run in parallel, 2023-10-02T13:53:40,038 but sequential order of paths found in glob is not guaranteed. 2023-10-02T13:53:40,040 ``` 2023-10-02T13:53:40,043 ```python3 2023-10-02T13:53:40,044 import BODY_SCAN 2023-10-02T13:53:40,045 import pathlib 2023-10-02T13:53:40,046 THIS_FOLDER = pathlib.Path (__file__).parent.resolve () 2023-10-02T13:53:40,047 from os.path import dirname, join, normpath 2023-10-02T13:53:40,048 SEARCH = normpath (join (THIS_FOLDER, "MODULE")) 2023-10-02T13:53:40,049 # 2023-10-02T13:53:40,050 # These are added to the sys.path before scan is started. 2023-10-02T13:53:40,050 # 2023-10-02T13:53:40,051 MODULE_PATH = [ 2023-10-02T13:53:40,051 normpath (join (SEARCH, "MODULES")) 2023-10-02T13:53:40,052 ] 2023-10-02T13:53:40,053 SCAN = BODY_SCAN.START ( 2023-10-02T13:53:40,053 # REQUIRED 2023-10-02T13:53:40,054 GLOB = SEARCH + '/**/*HEALTH.py', 2023-10-02T13:53:40,054 # OPTIONAL 2023-10-02T13:53:40,055 MODULE_PATHS = MODULE_PATH, 2023-10-02T13:53:40,056 # OPTIONAL 2023-10-02T13:53:40,056 RELATIVE_PATH = SEARCH 2023-10-02T13:53:40,057 ) 2023-10-02T13:53:40,058 ``` 2023-10-02T13:53:42,276 running bdist_wheel 2023-10-02T13:53:42,373 running build 2023-10-02T13:53:42,373 running build_py 2023-10-02T13:53:42,399 creating build 2023-10-02T13:53:42,400 creating build/lib 2023-10-02T13:53:42,401 creating build/lib/BODY_SCAN 2023-10-02T13:53:42,402 copying src/START_MULTIPLE_PROCESSES.py -> build/lib/BODY_SCAN 2023-10-02T13:53:42,405 copying src/__init__.py -> build/lib/BODY_SCAN 2023-10-02T13:53:42,413 creating build/lib/BODY_SCAN/AGGREGATE 2023-10-02T13:53:42,416 copying src/AGGREGATE/__init__.py -> build/lib/BODY_SCAN/AGGREGATE 2023-10-02T13:53:42,418 creating build/lib/BODY_SCAN/SCAN_PROC 2023-10-02T13:53:42,419 copying src/SCAN_PROC/__init__.py -> build/lib/BODY_SCAN/SCAN_PROC 2023-10-02T13:53:42,421 creating build/lib/BODY_SCAN/FUNCTIONS 2023-10-02T13:53:42,422 copying src/FUNCTIONS/CHECK_STATUS_LOCATION.py -> build/lib/BODY_SCAN/FUNCTIONS 2023-10-02T13:53:42,424 copying src/FUNCTIONS/START_A_SCAN.py -> build/lib/BODY_SCAN/FUNCTIONS 2023-10-02T13:53:42,427 creating build/lib/BODY_SCAN/SCAN_PROC/KEG 2023-10-02T13:53:42,429 copying src/SCAN_PROC/KEG/SCAN.py -> build/lib/BODY_SCAN/SCAN_PROC/KEG 2023-10-02T13:53:42,431 copying src/SCAN_PROC/KEG/__init__.py -> build/lib/BODY_SCAN/SCAN_PROC/KEG 2023-10-02T13:53:42,464 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-10-02T13:53:42,465 !! 2023-10-02T13:53:42,467 ******************************************************************************** 2023-10-02T13:53:42,467 Please avoid running ``setup.py`` directly. 2023-10-02T13:53:42,468 Instead, use pypa/build, pypa/installer or other 2023-10-02T13:53:42,469 standards-based tools. 2023-10-02T13:53:42,471 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-10-02T13:53:42,472 ******************************************************************************** 2023-10-02T13:53:42,473 !! 2023-10-02T13:53:42,474 self.initialize_options() 2023-10-02T13:53:42,501 installing to build/bdist.linux-armv7l/wheel 2023-10-02T13:53:42,503 running install 2023-10-02T13:53:42,526 running install_lib 2023-10-02T13:53:42,557 creating build/bdist.linux-armv7l 2023-10-02T13:53:42,559 creating build/bdist.linux-armv7l/wheel 2023-10-02T13:53:42,568 creating build/bdist.linux-armv7l/wheel/BODY_SCAN 2023-10-02T13:53:42,573 creating build/bdist.linux-armv7l/wheel/BODY_SCAN/AGGREGATE 2023-10-02T13:53:42,574 copying build/lib/BODY_SCAN/AGGREGATE/__init__.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN/AGGREGATE 2023-10-02T13:53:42,577 creating build/bdist.linux-armv7l/wheel/BODY_SCAN/SCAN_PROC 2023-10-02T13:53:42,579 creating build/bdist.linux-armv7l/wheel/BODY_SCAN/SCAN_PROC/KEG 2023-10-02T13:53:42,580 copying build/lib/BODY_SCAN/SCAN_PROC/KEG/SCAN.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN/SCAN_PROC/KEG 2023-10-02T13:53:42,583 copying build/lib/BODY_SCAN/SCAN_PROC/KEG/__init__.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN/SCAN_PROC/KEG 2023-10-02T13:53:42,586 copying build/lib/BODY_SCAN/SCAN_PROC/__init__.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN/SCAN_PROC 2023-10-02T13:53:42,589 creating build/bdist.linux-armv7l/wheel/BODY_SCAN/FUNCTIONS 2023-10-02T13:53:42,591 copying build/lib/BODY_SCAN/FUNCTIONS/CHECK_STATUS_LOCATION.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN/FUNCTIONS 2023-10-02T13:53:42,593 copying build/lib/BODY_SCAN/FUNCTIONS/START_A_SCAN.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN/FUNCTIONS 2023-10-02T13:53:42,595 copying build/lib/BODY_SCAN/START_MULTIPLE_PROCESSES.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN 2023-10-02T13:53:42,597 copying build/lib/BODY_SCAN/__init__.py -> build/bdist.linux-armv7l/wheel/BODY_SCAN 2023-10-02T13:53:42,599 running install_egg_info 2023-10-02T13:53:42,660 running egg_info 2023-10-02T13:53:42,684 writing BODY_SCAN.egg-info/PKG-INFO 2023-10-02T13:53:42,688 writing dependency_links to BODY_SCAN.egg-info/dependency_links.txt 2023-10-02T13:53:42,690 writing requirements to BODY_SCAN.egg-info/requires.txt 2023-10-02T13:53:42,692 writing top-level names to BODY_SCAN.egg-info/top_level.txt 2023-10-02T13:53:42,722 reading manifest file 'BODY_SCAN.egg-info/SOURCES.txt' 2023-10-02T13:53:42,725 adding license file 'LICENSE' 2023-10-02T13:53:42,727 writing manifest file 'BODY_SCAN.egg-info/SOURCES.txt' 2023-10-02T13:53:42,729 Copying BODY_SCAN.egg-info to build/bdist.linux-armv7l/wheel/BODY_SCAN-0.0.10-py3.11.egg-info 2023-10-02T13:53:42,742 running install_scripts 2023-10-02T13:53:42,765 creating build/bdist.linux-armv7l/wheel/BODY_SCAN-0.0.10.dist-info/WHEEL 2023-10-02T13:53:42,770 creating '/tmp/pip-wheel-vq7xggg9/BODY_SCAN-0.0.10-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-10-02T13:53:42,773 adding 'BODY_SCAN/START_MULTIPLE_PROCESSES.py' 2023-10-02T13:53:42,775 adding 'BODY_SCAN/__init__.py' 2023-10-02T13:53:42,778 adding 'BODY_SCAN/AGGREGATE/__init__.py' 2023-10-02T13:53:42,781 adding 'BODY_SCAN/FUNCTIONS/CHECK_STATUS_LOCATION.py' 2023-10-02T13:53:42,783 adding 'BODY_SCAN/FUNCTIONS/START_A_SCAN.py' 2023-10-02T13:53:42,786 adding 'BODY_SCAN/SCAN_PROC/__init__.py' 2023-10-02T13:53:42,790 adding 'BODY_SCAN/SCAN_PROC/KEG/SCAN.py' 2023-10-02T13:53:42,792 adding 'BODY_SCAN/SCAN_PROC/KEG/__init__.py' 2023-10-02T13:53:42,796 adding 'BODY_SCAN-0.0.10.dist-info/LICENSE' 2023-10-02T13:53:42,799 adding 'BODY_SCAN-0.0.10.dist-info/METADATA' 2023-10-02T13:53:42,801 adding 'BODY_SCAN-0.0.10.dist-info/WHEEL' 2023-10-02T13:53:42,803 adding 'BODY_SCAN-0.0.10.dist-info/top_level.txt' 2023-10-02T13:53:42,805 adding 'BODY_SCAN-0.0.10.dist-info/RECORD' 2023-10-02T13:53:42,808 removing build/bdist.linux-armv7l/wheel 2023-10-02T13:53:42,927 Building wheel for body-scan (setup.py): finished with status 'done' 2023-10-02T13:53:42,931 Created wheel for body-scan: filename=BODY_SCAN-0.0.10-py3-none-any.whl size=7817 sha256=62a48f3d91ec5fb86f3f4ecc66b13e1c32db3ff1d13a0bb9937959d63fe49508 2023-10-02T13:53:42,933 Stored in directory: /tmp/pip-ephem-wheel-cache-hbin0rb1/wheels/f0/3c/95/fcda85246ec954efe00f71152baa1c95df5ef35e314b5be4cf 2023-10-02T13:53:42,951 Successfully built body-scan 2023-10-02T13:53:42,955 Removed build tracker: '/tmp/pip-build-tracker-eiakqmks'