Skip to content

Commit cc72727

Browse files
authored
Fix the build system not to install docs into site-packages (#134)
Fix `pyproject.toml` not to install `README.md` and `CHANGELOG.md` straight into site-packages directory, i.e. as: /usr/lib/python3.12/site-packages/README.md To do that, explicitly specify `format = "sdist"`, so that the files are included in sdist archives only, and not in wheels, where there would end up being treated as Python packages.
1 parent cbe9682 commit cc72727

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ classifiers = [
2020
]
2121
include = [
2222
"mapbox_vector_tile/Mapbox/*.proto",
23-
"README.md",
24-
"CHANGELOG.md",
23+
{ path = "README.md", format = "sdist" },
24+
{ path = "CHANGELOG.md", format = "sdist" },
2525
]
2626
packages = [
2727
{ include = "mapbox_vector_tile" }

0 commit comments

Comments
 (0)