Skip to content

Commit

Permalink
closer to quak setup2
Browse files Browse the repository at this point in the history
  • Loading branch information
paddymul committed Dec 28, 2024
1 parent 7c377ff commit 844a2f9
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,20 @@ Homepage = "https://github.com/paddymul/buckaroo"

[tool.hatch.build]
only-packages = true
artifacts = ["src/buckaroo/static/widget.js", "scripts/hatch_build.py"]

[tool.hatch.envs.default]
installer = "uv"

[tool.hatch.build.targets.wheel]
include = [
"buckaroo/**/*.py",
"buckaroo/**/*.tsx",
"buckaroo/static/*",
]
[tool.hatch.build.targets.wheel.force-include]
"packages/buckaroo-js-core/dist/style.css" = "packages/buckaroo-js-core/dist/style.css"
# temporarily commenting out to simplify build closer to quak
# [tool.hatch.build.targets.wheel]
# include = [
# "buckaroo/**/*.py",
# "buckaroo/static/*",
# ]
# [tool.hatch.build.targets.wheel.force-include]
# "packages/buckaroo-js-core/dist/style.css" = "packages/buckaroo-js-core/dist/style.css"

# [tool.hatch.build]
# only-packages = true


[tool.isort]
Expand Down

0 comments on commit 844a2f9

Please sign in to comment.