summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-21 10:36:42 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-21 10:36:42 +0100
commita6fdbfd7d82df63c49dcc01b98d25110c0ff4caf (patch)
treea930c9464dbaffd1680216bf232e520933684fb3
parentff306f832d7eaf4c3fc2b37b5c75f1f0195ad971 (diff)
downloadisort-a6fdbfd7d82df63c49dcc01b98d25110c0ff4caf.tar.gz
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.
-rw-r--r--pyproject.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml
index eaeafb90..b0608a58 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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]