Skip to content

Commit abfdd24

Browse files
roxellacerv
authored andcommitted
pyproject: include sub-packages in pip package
The include pattern "libkirk" only match the top-level package so sub-packages like libkirk.channels is missing from the pip package. Add "libkirk.*" to also include sub-packages. Without this kirk fails with: ValueError: Discover folder doesn't exist Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 parent 279a9da commit abfdd24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ classifiers = [
4141
version = {attr = "libkirk.__version__"}
4242

4343
[tool.setuptools.packages.find]
44-
include = ["libkirk"]
44+
include = ["libkirk", "libkirk.*"]
4545
exclude = ["libkirk.tests"]
4646

4747
[project.scripts]

0 commit comments

Comments
 (0)