[question] What about parsing requirements.txt?
See original GitHub issuehttps://github.com/kennethreitz/setup.py/blob/c5a82dc3670b5fa65e4d5da578d992c38b62d524/setup.py#L22
2 years ago I was playing with this http://j.mp/setup_py and one of the features is using pip.req.parse_requirements('requirements.txt')
to populate the requires and avoid duplicity.
What do you think about this? on advantage of having a requirements.txt
is to use pyup.io and satefy
to check updates and audit the requirements for security failures.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10
Top Results From Across the Web
Proper way to parse requirements file after pip upgrade to pip ...
First, I believe parsing requirements.txt from within setup.py is not a good idea. It should be the other way around, install_requires in ...
Read more >API to parse requirements.txt for setup.py #1080 - GitHub
parsing requirements.txt just to get structured data about all package dependencies (including optional and platform specific); parsing ...
Read more >Add parser to requirements.txt - Support - Zyte
I'm trying to use urllib.parse to analyse and clean up some URLs. First, I added the module urllib3 to my requirements.txt file as...
Read more >User Guide - pip documentation v22.3.1
Details on the format of the files are here: Requirements File Format. Logically, a Requirements file is just a list of pip install...
Read more >Using Python's pip to Manage Your Projects' Dependencies
You can add as many packages as you want to the pip install command. In cases like this, a requirements.txt file can come...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rochacbruno take a look at
pbr
if you need this, but you should first consider having a single place of requirements, if you need to group optional requirements in distribution package, there’sextras_require
for this purpose.like i said, I’ve done it before 😃