Skip to content

Commit 22f30a2

Browse files
committed
fix: add build-system and fix package discovery to include all subpackages
The wheel was missing smith.delivery, smith.domain, smith.application, smith.infrastructure, and smith.data subpackages because [tool.setuptools] packages = ["smith"] only included the top-level package. Added missing [build-system] section and switched to setuptools.packages.find to auto-discover all subpackages. Bumped version to 0.3.0.
1 parent a0700c1 commit 22f30a2

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to agents-smith will be documented in this file.
44

5+
## [0.3.0] - 20260501
6+
7+
### Fixed
8+
9+
- Fix package build configuration: add missing `[build-system]` section and use `setuptools.packages.find` to include all subpackages (delivery, domain, application, infrastructure, data). Previously only `smith/__init__.py` and `smith/__main__.py` were included in the wheel, causing `ModuleNotFoundError: No module named 'smith.delivery'` when installed as a dependency in another project.
10+
511
## [0.2.0] - 20260501
612

713
### Changed

pyproject.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
[build-system]
2+
requires = ["setuptools>=68.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "agents-smith"
3-
version = "0.2.0"
7+
version = "0.3.0"
48
description = "AI-assisted software delivery system with flow-based agent orchestration"
59
readme = "README.md"
610
requires-python = ">=3.13"
@@ -39,9 +43,11 @@ dev = [
3943
"safety>=3.7.0",
4044
]
4145

42-
[tool.setuptools]
43-
packages = ["smith"]
44-
package-data = { "smith.data" = ["**/*"] }
46+
[tool.setuptools.packages.find]
47+
include = ["smith*"]
48+
49+
[tool.setuptools.package-data]
50+
"smith.data" = ["**/*"]
4551

4652
[tool.ruff.lint]
4753
ignore = []

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)