From 05407422e95607aeb5ca8b21ea5a470561866f61 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 22 Nov 2025 15:40:34 +0000 Subject: [PATCH] Fix package build to include all subpackages 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. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9ff15b5..9248dc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ Website = "https://magic.link" [tool.setuptools] -packages = ["magic_admin"] +packages = ["magic_admin", "magic_admin.resources", "magic_admin.utils"] [tool.setuptools.package-data] magic_admin = ["*.txt", "*.md"]