Reputation: 19
Is there any way to upload the requirement.txt file on PYPI.So that I can install the necessary dependency for this package. I have uploaded my project but there is no requirements.txt file.
Upvotes: 0
Views: 105
Reputation: 5012
You do not upload your requirements.txt on PyPI. Instead, include your requirements in the install_requires
section in your setup.py.
See here the example in the sample setup.py by the Python Packaging Authority.
Upvotes: 1