aboutcode-org / python-inspector

Inspect Python code and PyPI package manifests. Resolve Python dependencies.
22 stars 19 forks source link

Ensure we can handle old distutils-only setup.py #87

Open pombredanne opened 2 years ago

pombredanne commented 2 years ago

From https://github.com/nexB/python-inspector/pull/66#discussion_r1007163606

handle the rarer case where the setup.py is using plain distutils See https://github.com/search?l=Python&q=from+distutils.core+import+setup+filename+filename%3Asetup.py&type=Code for some exotic examples.