Skip to content

Commit a6fdbfd

Browse files
committed
Stop installing documentation files to top-level site-packages
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.
1 parent ff306f8 commit a6fdbfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ classifiers = [
3434
urls = { Changelog = "https://github.com/pycqa/isort/blob/main/CHANGELOG.md" }
3535
include = [
3636
{ path = "tests", format = "sdist" },
37-
{ path = "ACKNOWLEDGEMENTS.md" },
38-
{ path = "CHANGELOG.md" },
39-
{ path = "LICENSE" },
37+
{ path = "ACKNOWLEDGEMENTS.md", format = "sdist" },
38+
{ path = "CHANGELOG.md", format = "sdist" },
39+
{ path = "LICENSE", format = "sdist" },
4040
]
4141

4242
[tool.poetry.dependencies]

0 commit comments

Comments
 (0)