Explorar o código

Fixed package discovery in pyproject.toml

kaliko hai 9 meses
pai
achega
601e393ec7
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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}
 #build-backend = "setuptools.build_meta"
 
-[tool.setuptools]
-packages = ["borgmatic"]
+[tool.setuptools.packages.find]
+include = ["borgmatic*"]
+namespaces = false
 
 [tool.black]
 line-length = 100