Browse Source

Fixed package discovery in pyproject.toml

kaliko 7 months ago
parent
commit
601e393ec7
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pyproject.toml

+ 3 - 2
pyproject.toml

@@ -40,8 +40,9 @@ requires = ["setuptools>=61.0"]
 # allow looking for conf in setup.{cfg,py}
 # allow looking for conf in setup.{cfg,py}
 #build-backend = "setuptools.build_meta"
 #build-backend = "setuptools.build_meta"
 
 
-[tool.setuptools]
-packages = ["borgmatic"]
+[tool.setuptools.packages.find]
+include = ["borgmatic*"]
+namespaces = false
 
 
 [tool.black]
 [tool.black]
 line-length = 100
 line-length = 100