Rehab Shahzadi
Rehab Shahzadi

Reputation: 19

package upload on PYPI

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

Answers (1)

Mikhail Burshteyn
Mikhail Burshteyn

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

Related Questions