Skip to content

Commit 11e052f

Browse files
committed
fix
1 parent 8dccf63 commit 11e052f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/pkgmt/assets/template/pyproject-setup.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ dev = ["pytest", "flake8", "invoke", "twine"]
6868
$project_name = "$package_name.cli:cli"
6969

7070
[tool.setuptools]
71-
package-data = { "$package_name" = ["assets/*", "*.md", "templates/*"] }
71+
package-data = { "$package_name" = ["assets/*", "templates/*", "*.md"] }

tests/test_new.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ def test_package_pyproject_toml(tmp_empty, uninstall):
7070

7171
# build settings
7272
assert 'name = "some-cool-pkg"' in pyproject
73-
assert 'package-data = { "some_cool_pkg" = ["assets/*", "*.md"] }' in pyproject
73+
assert (
74+
'package-data = { "some_cool_pkg" = ["assets/*", "templates/*", "*.md"] }'
75+
in pyproject
76+
)
7477

7578
assert 'python -c "import some_cool_pkg"' in ci
7679
assert "# flake8: noqa" not in cli

0 commit comments

Comments
 (0)