Skip to content

Commit eb88595

Browse files
committed
fix(datashare-python): missing worker template artifact
1 parent cfab787 commit eb88595

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

datashare-python/pyproject.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "datashare-python"
3-
version = "0.2.16"
4-
description = "Manage Python tasks and local resources in Datashare"
3+
version = "0.2.17"
4+
description = "Manage Pythoœn tasks and local resources in Datashare"
55
authors = [
66
{ name = "Clément Doumouro", email = "cdoumouro@icij.org" },
77
{ name = "Clément Doumouro", email = "clement.doumouro@gmail.com" },
@@ -36,12 +36,18 @@ datashare-python = "datashare_python.__main__:main"
3636
requires = ["hatchling"]
3737
build-backend = "hatchling.build"
3838

39-
[tool.hatch.build.targets.wheel.force-include]
40-
"datashare_python/worker-template.tar.gz" = "datashare_python/worker-template.tar.gz"
39+
[tool.hatch.build.hooks.custom]
40+
path = "datashare_python/template.py"
4141

4242
[tool.hatch.build.targets.sdist]
4343
only-include = ["datashare_python"]
4444

45+
[tool.hatch.build.targets.wheel]
46+
artifacts = [
47+
"worker-template.tar.gz"
48+
]
49+
50+
4551
[tool.uv]
4652
package = true
4753

0 commit comments

Comments
 (0)