You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move install_requires from requirements.txt to setup.py #47
Currently install_requires requirements are buried in a text file. Would be easier to discover if it is just done in setup.py . No reason to have file I/O overhead during setup for those entries.
Bonus: Move all that data from setup.py to setup.cfg for easier to read package info.
Yes, since I posted this, using pyproject.toml instead of setup.cfg is now popular. As long as you don't mind pinning to a much newer version of setuptools, I think that is the way to go now.
Activity
Jammy2211 commentedon Nov 28, 2022
We are going to adopt this: #67
Would listing all requirements and optional requirements in the
pyproject.tomlfile satisfy this issue?pllim commentedon Nov 28, 2022
Yes, since I posted this, using
pyproject.tomlinstead ofsetup.cfgis now popular. As long as you don't mind pinning to a much newer version ofsetuptools, I think that is the way to go now.