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

Fix the build system not to install docs into site-packages #134

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

Conversation

mgorny
Copy link

@mgorny mgorny commented May 31, 2024

Fix pyproject.toml not to install README.md and CHANGELOG.md straight into site-packages directory, i.e. as:

/usr/lib/python3.12/site-packages/README.md

To do that, explicitly specify format = "sdist", so that the files are included in sdist archives only, and not in wheels, where there would end up being treated as Python packages.

Fix `pyproject.toml` not to install `README.md` and `CHANGELOG.md`
straight into site-packages directory, i.e. as:

    /usr/lib/python3.12/site-packages/README.md

To do that, explicitly specify `format = "sdist"`, so that the files
are included in sdist archives only, and not in wheels, where there
would end up being treated as Python packages.
Copy link
Member

@rmarianski rmarianski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇

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.

2 participants