Skip to content

Commit

Permalink
actually exclude tests from packages: use setuptools autodiscovery fo…
Browse files Browse the repository at this point in the history
…r flat-layout, exclude man directory
  • Loading branch information
tykling committed Oct 11, 2023
1 parent f04e58b commit dea7379
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ documentation = "https://certgrinder.readthedocs.org/"
[tool.setuptools_scm]
root = ".."

[tool.setuptools]
package-dir = {"certgrinder" = "certgrinder"}
packages = ["certgrinder"]

[tool.setuptools.exclude-package-data]
certgrinder = ["*tests*"]
[tool.setuptools.packages.find]
exclude = ["man*"]

[tool.pydocstyle]
convention = "google"
Expand Down
8 changes: 2 additions & 6 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,8 @@ documentation = "https://certgrinder.readthedocs.org/"
[tool.setuptools_scm]
root = ".."

[tool.setuptools]
package-dir = {"certgrinderd" = "certgrinderd"}
packages = ["certgrinderd"]

[tool.setuptools.exclude-package-data]
certgrinder = ["*tests*"]
[tool.setuptools.packages.find]
exclude = ["man*"]

[tool.pydocstyle]
convention = "google"
Expand Down

0 comments on commit dea7379

Please sign in to comment.