8000 Site-packages pollution from README · Issue #743 · abey79/vpype · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Site-packages pollution from README #743
Open
@0x5c

Description

@0x5c

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0