Skip to content

Commit 7953fb6

Browse files
committed
refactor: use setuptools auto-discovery for packages
Replace explicit package list with find_packages(include=['deezer_python_gql*']) so subpackages are discovered automatically.
1 parent 25c3d34 commit 7953fb6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ dev = [
3535

3636
[tool.setuptools]
3737
include-package-data = true
38-
packages = ["deezer_python_gql", "deezer_python_gql.generated"]
3938
platforms = ["any"]
4039
zip-safe = false
4140

41+
[tool.setuptools.packages.find]
42+
include = ["deezer_python_gql*"]
43+
4244
[tool.setuptools.package-data]
4345
deezer_python_gql = ["py.typed"]
4446

0 commit comments

Comments
 (0)