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

Add requirements.txt to sdist, remove README.md from data_files #48

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

Conversation

charles-dyfis-net
Copy link

Fixes #47.

  • requirements.txt being missing from the source tarball meant that this package was only possible to install from the wheel, not from the sdist; one can reproduce the problem by using --no-binary :all: as an argument to pip.
  • Adding README.md to data_files meant that it was installed into site-packages instead of only being added to the source tarball; being at the root, it conflicted with any other Python package trying to install a README.md when using a package manager that tracks such conflicts.

Fixes rom1504#47.

- `requirements.txt` being missing from the source tarball meant that this package was only possible to install from the wheel, not from the sdist; one can reproduce the problem by using `--no-binary :all:` as an argument to `pip`.
- Adding `README.md` to `data_files` meant that it was installed into site-packages instead of only being added to the source tarball; being at the root, it conflicted with any _other_ Python package trying to install a README.md when using a package manager that tracks such conflicts.
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.7.0 published tarball does not include requirements.txt
1 participant