Skip to content

Commit 1f5294a

Browse files
committed
Declare the setuptools package explicitly
1 parent 9b3fb39 commit 1f5294a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ dist/
1010
*.tmp
1111
history.txt
1212
.DS_Store
13+
.coverage
14+
htmlcov/

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ dev = ["pytest>=8.0", "pytest-cov>=5.0", "ruff>=0.4"]
1515
imustore = "imustore.tool:main"
1616
imustore-server = "imustore.server:main"
1717

18+
# Ship only the library package. `bench` is a package (so `python -m
19+
# bench.benchmark` works) but is a dev tool, not part of the distribution;
20+
# without this, setuptools' flat-layout auto-discovery errors on the two
21+
# top-level packages ("Multiple top-level packages discovered").
22+
[tool.setuptools]
23+
packages = ["imustore"]
24+
1825
[tool.pytest.ini_options]
1926
testpaths = ["tests"]
2027

0 commit comments

Comments
 (0)