forked from Mirror/pmbootstrap
pyproject.toml: fix tests getting installed
Instead of automatic python package discovery that for some reason still picks up the test module even though it should be excluded, specify the "pmb" module manually to be installed. Follow-up to MR 2551. Fixes: issue 2541
This commit is contained in:
parent
60a4ed7f84
commit
3eff3ff39e
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ Homepage = "https://www.postmarketos.org"
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = {attr = "pmb.__version__"}
|
version = {attr = "pmb.__version__"}
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.package-dir]
|
||||||
exclude = ["aports", "docs", "keys", "test", "test.pmb_test"]
|
pmb = "pmb"
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length=100
|
line-length=100
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue