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]
|
[project]
|
||||||
name = "sms_handler"
|
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"
|
description = "Listen to messages from the SMS Forwarder app on Android and send mail"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{ name = "phil", email = "phil.dev@philome.mooo.com" }]
|
authors = [{ name = "phil", email = "phil.dev@philome.mooo.com" }]
|
||||||
|
@ -17,17 +16,29 @@ dependencies = [
|
||||||
sms-handler = "sms_handler.server:main"
|
sms-handler = "sms_handler.server:main"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling", "uv-dynamic-versioning"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
source = "uv-dynamic-versioning"
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/sms_handler"]
|
packages = ["src/sms_handler"]
|
||||||
|
|
||||||
[tool.uv]
|
[dependency-groups]
|
||||||
package = true
|
dev = [
|
||||||
dev-dependencies = [
|
"dunamai>=1.24.1",
|
||||||
"httpx>=0.28.0",
|
"httpx>=0.28.1",
|
||||||
|
"pytest>=8.4.1",
|
||||||
"ipdb>=0.13.13",
|
"ipdb>=0.13.13",
|
||||||
"ipython>=8.30.0",
|
"ipython>=8.30.0",
|
||||||
"pytest>=8.3.3",
|
"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