Skip to content

Commit

Permalink
Attempt to include j2 files in python package.
Browse files Browse the repository at this point in the history
  • Loading branch information
aholmes committed Sep 20, 2023
1 parent 6587841 commit bbf2e28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/web/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ dependencies = [
]

dynamic = ["version", "readme"]

[tool.setuptools]
include-package-data = true

[tool.setuptools.dynamic]
version = {attr = "BL_Python.web.__version__"}
readme = {file = ["README.md"], content-type = "text/markdown"}
Expand All @@ -55,7 +59,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"}
find = {}

[tool.setuptools.package-data]
"BL_Python.web" = ["*.j2"]
"*" = ["*.j2"]

[project.scripts]
bl-python-scaffold = "BL_Python.web.scaffolding.__main__:scaffold"
Expand Down

0 comments on commit bbf2e28

Please sign in to comment.