Dynamic versioning
This commit is contained in:
parent
ffec3acd0a
commit
8cd3b1e4c1
1 changed files with 18 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
|||
[project]
|
||||
name = "sms_handler"
|
||||
version = "0.0.17"
|
||||
#dynamic = ["version"]
|
||||
dynamic = ["version"]
|
||||
description = "Listen to messages from the SMS Forwarder app on Android and send mail"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "phil", email = "phil.dev@philome.mooo.com" }]
|
||||
|
@ -17,17 +16,29 @@ dependencies = [
|
|||
sms-handler = "sms_handler.server: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/sms_handler"]
|
||||
|
||||
[tool.uv]
|
||||
package = true
|
||||
dev-dependencies = [
|
||||
"httpx>=0.28.0",
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"dunamai>=1.24.1",
|
||||
"httpx>=0.28.1",
|
||||
"pytest>=8.4.1",
|
||||
"ipdb>=0.13.13",
|
||||
"ipython>=8.30.0",
|
||||
"pytest>=8.3.3",
|
||||
]
|
||||
|
||||
[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