瀏覽代碼

Fixed package discovery in pyproject.toml

kaliko 7 月之前
父節點
當前提交
601e393ec7
共有 1 個文件被更改,包括 3 次插入2 次删除
  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