Jaymon / pout

Python pretty print on steroids
MIT License
29 stars 0 forks source link

Moved the metadata into setup.cfg #55

Closed KOLANICH closed 4 years ago

KOLANICH commented 4 years ago

Why were these changes made?

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 than setup.py.

Is there some workflow thing you have?

Not quite a workflow, just review each package I install.

Jaymon commented 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