Skip to content

Commit 0495f5c

Browse files
committed
update pyproject.toml for src-layout
1 parent b8e8d13 commit 0495f5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ requires = ["pip", "setuptools>=61.0"]
7474
build-backend = "setuptools.build_meta"
7575

7676
[tool.setuptools.packages.find]
77-
include = ["bioimageio"]
77+
where = ["src/"]
7878

7979
[tool.setuptools.dynamic]
8080
version = { attr = "bioimageio.core.__version__" }
@@ -95,7 +95,7 @@ exclude = [
9595
"scripts/pdoc/patched.py",
9696
"tests/old_*",
9797
]
98-
include = ["bioimageio", "scripts", "tests"]
98+
include = ["src", "scripts", "tests"]
9999
pythonPlatform = "All"
100100
pythonVersion = "3.9"
101101
reportDuplicateImport = "error"
@@ -121,8 +121,8 @@ typeCheckingMode = "strict"
121121
useLibraryCodeForTypes = true
122122

123123
[tool.pytest.ini_options]
124-
addopts = "--doctest-modules --failed-first --ignore dogfood --ignore bioimageio/core/backends --ignore bioimageio/core/weight_converters"
125-
testpaths = ["bioimageio/core", "tests"]
124+
addopts = "--doctest-modules --failed-first --ignore dogfood --ignore src/bioimageio/core/backends --ignore src/bioimageio/core/weight_converters"
125+
testpaths = ["src", "tests"]
126126

127127
[tool.ruff]
128128
line-length = 88

0 commit comments

Comments
 (0)