Skip to content

Commit

Permalink
Add tests directory to sdist tarball
Browse files Browse the repository at this point in the history
pyproject.toml:
Change `tool.poetry.include` to include the tests directory recursively
for the sdist format and change existing entries so that the array
tracks the same type for all members.

Fixes #251

Signed-off-by: David Runge <[email protected]>
  • Loading branch information
dvzrv authored and Bachmann1234 committed Sep 26, 2021
1 parent 887eb38 commit ffb20fe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ packages = [
{ include = "diff_cover" }
]
include = [
"templates/*.txt",
"templates/*.html",
"templates/*.css",
"templates/*.md"
{path = 'templates/*.txt'},
{path = 'templates/*.html'},
{path = 'templates/*.css'},
{path = 'templates/*.md'},
{path = 'tests/*', format = 'sdist'},
]

[tool.poetry.scripts]
Expand Down

0 comments on commit ffb20fe

Please sign in to comment.