Python: Component-governance extraction from setup.py does not include setup.cfg/pyproject.toml if executed from different dir. #244
Labels
detector:pip
The pip detector
status:requirements
Full requirements are not yet known, so implementation should not be started
type:feature
Feature (new functionality)
The python code used to extract dependencies from setup.py would normally respect dependencies declared in more modern ways using setup.cfg/pyproject.toml but only if executed from the same directory.
E.g. changing the bundled code:
to something like (pseudocode)
would also ensure that dependencies declared in setup.cfg/pyproject.toml (pep 621) would be included.
The text was updated successfully, but these errors were encountered: