-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow 'file:' for tests_require and install_require in setup.cfg #1074
Comments
What should happen if the requirements.txt includes syntax other than simple lists of requirements (perhaps with environment markers)? Presumably comments could be ignored, but what about options to pip like Already, the guidance by the python packaging user's guide describes the distinct purposes intended for requirements.txt versus 'install_requires' and similar. By referencing a requirements.txt file for a package's declared minimum required versions, it violates some of the goals of a requirements.txt (showing pinned versions for an environment). How do we reconcile these challenges? |
Write user stories? I'd just paste requirements spec into |
I don't see a viable proposal here. |
Put this function in setup.py will do the job: |
Hi !
Most of the people use a
requirements.txt
file for managing their dependencies. Unfortunately,setuptools
does not support reading from those files for the requirements tags, which means that devs have to either duplicate their requirements file in theinstall_requires
parameter, or not use a requirement file at all. Sincesetuptools
already supports reading some metadata from a file, it should probably be allowed to read those parameters as well.The text was updated successfully, but these errors were encountered: