Skip to content

Commit

Permalink
Update setuptools section, add find options for completeness for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sjvrijn committed Oct 17, 2023
1 parent 31d5d70 commit b8951b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion {{cookiecutter.directory_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,13 @@ src_paths = ["{{ cookiecutter.package_name }}", "tests"]
line_length = 120

[tool.setuptools]
include-package-data = true
packages = ["{{ cookiecutter.package_name }}"]

# For completeness, until we move to an src-based layout
[tool.setuptools.packages.find]
include = ["{{ cookiecutter.package_name }}*"]
exclude = ["tests*"]

[tool.tox]
legacy_tox_ini = """
[tox]
Expand Down

0 comments on commit b8951b0

Please sign in to comment.