Closed KOLANICH closed 4 years ago
I'm going to deny this pull request since it falls under personal preference. If you need to pull information out of the setup.py
I'd just use distutils, which would be more universal across all pacakges:
import distutils.core
setup = distutils.core.run_setup('setup.py')
print(setup.install_requires)
I appreciate you caring enough about pout to submit this
It is a cleaner approach.
setup.cfg
cannot contain executable code and has a rigid schema. It is easier to review it and extract info from it thansetup.py
.Not quite a workflow, just review each package I install.