Skip to content
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

Include requirements.txt in the sdist #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

musicinmybrain
Copy link

This fixes the problem of the sdist, as currently published on PyPI, not being usable because setup.py reads requirements from requirements.txt, but requirements.txt is not included.

Before this PR:

$ gh repo clone berenslab/MorphoPy
$ cd MorphoPy
$ python3 -m build
[…]
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel

After this PR:

$ python3 -m build
[…]
Successfully built morphopy-0.7.2.tar.gz and morphopy-0.7.2-py3-none-any.whl
$ tar -tzf dist/morphopy-0.7.2.tar.gz
morphopy-0.7.2/
morphopy-0.7.2/LICENSE
morphopy-0.7.2/MANIFEST.in
[…]
morphopy-0.7.2/requirements.txt
[…]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant