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

Do not install stray files to site-packages #11

Closed
wants to merge 1 commit into from

Conversation

mgorny
Copy link

@mgorny mgorny commented Jun 20, 2023

Fix pyproject.toml to apply includes to sdist target and not wheels. Otherwise, the following files end up being installed to site-packages:

  • /usr/lib/python*/site-packages/pyproject.toml
  • /usr/lib/python*/site-packages/README.rst
  • /usr/lib/python*/site-packages/LICENSE
  • /usr/lib/python*/site-packages/tests

Fix `pyproject.toml` to apply includes to sdist target and not wheels.
Otherwise, the following files end up being installed to site-packages:

 *   /usr/lib/python*/site-packages/pyproject.toml
 *   /usr/lib/python*/site-packages/README.rst
 *   /usr/lib/python*/site-packages/LICENSE
 *   /usr/lib/python*/site-packages/tests
@wimglenn
Copy link
Member

closing in preference to #12

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