Browse Source

Fixed package discovery in pyproject.toml

kaliko 8 tháng trước cách đây
mục cha
commit
601e393ec7
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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