Skip to content

Commit aa6417c

Browse files
conradbezclaude
andauthored
Fix package build to include all subpackages (#118)
Updated pyproject.toml to explicitly include magic_admin.resources and magic_admin.utils subpackages. This fixes the ModuleNotFoundError that occurred when importing magic_admin from the PyPI package. The previous configuration only included the top-level magic_admin package, causing the resources and utils modules to be missing from the distribution. Co-authored-by: Claude <noreply@anthropic.com>
1 parent d318e2a commit aa6417c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131
Website = "https://magic.link"
3232

3333
[tool.setuptools]
34-
packages = ["magic_admin"]
34+
packages = ["magic_admin", "magic_admin.resources", "magic_admin.utils"]
3535

3636
[tool.setuptools.package-data]
3737
magic_admin = ["*.txt", "*.md"]

0 commit comments

Comments
 (0)