Skip to content

Commit cc30c7e

Browse files
committed
pyproject: update setuptools so it uses find()
1 parent bf92e29 commit cc30c7e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ Homepage = "https://recommandations-collaboratives.beta.gouv.fr/"
7878
Documentation = "https://reco-co.gitbook.io/"
7979
Repository = "https://github.com/betagouv/recommandations-collaboratives/"
8080

81-
[tool.setuptools]
82-
packages = ["recoco"]
81+
[tool.setuptools.packages.find]
82+
include = ["recoco*"] # package names should match these glob patterns (["*"] by default)
83+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
84+
8385

8486
[tool.setuptools.dynamic]
8587
version = {attr = "recoco.__version__"}

0 commit comments

Comments
 (0)