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

Site-packages pollution from README #743

Open
0x5c opened this issue Jun 19, 2024 · 0 comments
Open

Site-packages pollution from README #743

0x5c opened this issue Jun 19, 2024 · 0 comments

Comments

@0x5c
Copy link

0x5c commented Jun 19, 2024

Usage of include in pyproject.toml for README and such is causing those files to be placed directly inside the site-packages directory once installed. That directory should only contain python modules and optionally their setuptools/pep517 metadata like *.dist-info files.

vpype/pyproject.toml

Lines 22 to 24 in 3c1e08f

"README.md",
"CHANGELOG.md",
"LICENSE",

$ ls -1F venv/lib/python3.12/site-packages
CHANGELOG.md
LICENSE
PIL/
PySide6/
PySide6-6.7.0.dist-info/
PySide6_Addons-6.7.0.dist-info/
PySide6_Essentials-6.7.0.dist-info/
README.md
__pycache__/
_moderngl.py
[...]
vpype/
vpype-1.14.0.dist-info/
vpype_cli/
vpype_viewer/
wheel/
wheel-0.43.0.dist-info/

I'm not sure what would the solution be. The LICENSE file already gets properly installed to vpype-[verson].dist-info, so dropping those 3 lines from pyproject.toml could be a solution.

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

No branches or pull requests

1 participant