Prior to this PR, local module names were determined only based on the root folder names. This led to parsedeps command over-reporting many local modules. With this PR, local module name detection is improved by filtering modules based on:
__init__.py files
Local file names
Attached deps slices file is looking much cleaner listing only the external libraries for numpy 2.0.0
Related to https://github.com/CycloneDX/cdxgen/issues/1171
Prior to this PR, local module names were determined only based on the root folder names. This led to parsedeps command over-reporting many local modules. With this PR, local module name detection is improved by filtering modules based on:
Attached deps slices file is looking much cleaner listing only the external libraries for numpy 2.0.0
deps.slices.json.txt