Use dynamic version
This commit is contained in:
parent
5fd6681571
commit
a5518752fe
1 changed files with 14 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
[project]
|
||||
name = "test-woodpecker-ci"
|
||||
version = "0.1.1"
|
||||
description = "Add your description here"
|
||||
dynamic = ["version"]
|
||||
description = "Sandbox for Woodpecker CI"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = []
|
||||
|
@ -10,11 +10,22 @@ dependencies = []
|
|||
foo = "test_woodpecker_ci.main:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
requires = ["hatchling", "uv-dynamic-versioning"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "uv-dynamic-versioning"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/test_woodpecker_ci"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["httpx>=0.28.1", "pytest>=8.4.1"]
|
||||
|
||||
[tool.uv-dynamic-versioning]
|
||||
style = "semver"
|
||||
|
||||
[tool.uv]
|
||||
extra-index-url = [
|
||||
"https://code.philo.ydns.eu/api/packages/philorg/pypi/simple/",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue