Skip to content

Commit 1eefcfb

Browse files
cjwatsonelibon99
authored andcommitted
Don't install docs at top level of wheel
Telling Poetry to install the `COPYING`, `NEWS`, and `README.adoc` files without qualification causes it to install those files at the very top level of the wheel, outside the `yubihsm/` directory, and thus to potentially clash with other packages. We only need to explicitly install them in the sdist. The wheel still ends up with copies of those files in `yubihsm-*.dist-info/`, so no information is lost.
1 parent 80c8d10 commit 1eefcfb

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
@@ -15,9 +15,9 @@ classifiers = [
1515
"Topic :: Software Development :: Libraries"
1616
]
1717
include = [
18-
"COPYING",
19-
"NEWS",
20-
"README.adoc",
18+
{ path = "COPYING", format = "sdist" },
19+
{ path = "NEWS", format = "sdist" },
20+
{ path = "README.adoc", format = "sdist" },
2121
"tests/",
2222
]
2323

0 commit comments

Comments
 (0)