We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my setup.py, I read both the README.md and the requirements.txt:
setup.py
import setuptools, pathlib HERE = pathlib.Path(__file__).parent README = (HERE / "README.md").read_text() REQUIRES = (HERE / "requirements.txt").read_text().strip().split("\n") REQUIRES = [lin.strip() for lin in REQUIRES] setuptools.setup( ... install_requires=REQUIRES, long_description=README, long_description_content_type="text/markdown", ... )
For this to work, I had to add requirements.txt to MANIFEST.in.
requirements.txt
MANIFEST.in
I hope it helps someone.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In my
setup.py
, I read both the README.md and the requirements.txt:For this to work, I had to add
requirements.txt
toMANIFEST.in
.I hope it helps someone.
The text was updated successfully, but these errors were encountered: