Skip to content

Commit

Permalink
Stop installing documentation files to top-level site-packages
Browse files Browse the repository at this point in the history
Add `format = sdist` to `include` table values to prevent
the documentation files from being installed directly into
site-packages, i.e.:

    /usr/lib/python3.11/site-packages/CHANGELOG.md
    /usr/lib/python3.11/site-packages/LICENSE

Originally reported by Anna Vyalkova on https://bugs.gentoo.org/887569.
  • Loading branch information
mgorny committed Dec 21, 2022
1 parent ff306f8 commit a6fdbfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ classifiers = [
urls = { Changelog = "https://github.com/pycqa/isort/blob/main/CHANGELOG.md" }
include = [
{ path = "tests", format = "sdist" },
{ path = "ACKNOWLEDGEMENTS.md" },
{ path = "CHANGELOG.md" },
{ path = "LICENSE" },
{ path = "ACKNOWLEDGEMENTS.md", format = "sdist" },
{ path = "CHANGELOG.md", format = "sdist" },
{ path = "LICENSE", format = "sdist" },
]

[tool.poetry.dependencies]
Expand Down

0 comments on commit a6fdbfd

Please sign in to comment.