Skip to content

Commit b324feb

Browse files
committed
Explicitly tell setuptools what is the package rather than relying on auto-discovery
1 parent b9778a8 commit b324feb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,13 @@ publishing = [
129129
"instamatic.autoconfig" = "instamatic.config.autoconfig:main"
130130

131131
[tool.setuptools]
132-
packages = ["instamatic"]
133132
package-dir = {"" = "src"}
134133
include-package-data = true
135134

135+
[tool.setuptools.packages.find]
136+
where = ["src"]
137+
include = ["instamatic*"]
138+
136139
[tool.ruff]
137140
target-version = 'py39'
138141
line-length = 96

0 commit comments

Comments
 (0)