mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
fix pypi publish: use wheel-only build, remove build hook (#804)
This commit is contained in:
parent
8f7a8a8a17
commit
a1508f4de1
5 changed files with 6 additions and 55 deletions
|
|
@ -37,15 +37,12 @@ path = "planoai/__init__.py"
|
|||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["planoai"]
|
||||
|
||||
[tool.hatch.build.targets.wheel.force-include]
|
||||
"../config/plano_config_schema.yaml" = "planoai/data/plano_config_schema.yaml"
|
||||
"../config/envoy.template.yaml" = "planoai/data/envoy.template.yaml"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
include = ["planoai/**", "hatch_build.py"]
|
||||
|
||||
[tool.hatch.build.targets.sdist.force-include]
|
||||
"../config/plano_config_schema.yaml" = "config/plano_config_schema.yaml"
|
||||
"../config/envoy.template.yaml" = "config/envoy.template.yaml"
|
||||
|
||||
[tool.hatch.build]
|
||||
hooks.custom.path = "hatch_build.py"
|
||||
include = ["planoai/**"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = ["-v"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue