chore: get version from file

This commit is contained in:
Daylin Morgan 2024-03-11 13:59:06 -05:00
parent b8b189e950
commit c1a8fd3d41
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,6 +1,5 @@
[project] [project]
name = "swydd" name = "swydd"
version = "0.1.0"
description = "swydd will yield desired deliverables" description = "swydd will yield desired deliverables"
authors = [ authors = [
{name = "Daylin Morgan", email = "daylinmorgan@gmail.com"}, {name = "Daylin Morgan", email = "daylinmorgan@gmail.com"},
@ -9,15 +8,15 @@ dependencies = []
requires-python = ">=3.9" requires-python = ">=3.9"
readme = "README.md" readme = "README.md"
license = {text = "MIT"} license = {text = "MIT"}
dynamic = ["version"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm] [tool.pdm]
distribution = true distribution = true
[tool.pdm.version]
source = "file"
path = "swydd/__init__.py"
[tool.pdm.dev-dependencies] [tool.pdm.dev-dependencies]
dev = [ dev = [
"pre-commit>=3.6.2", "pre-commit>=3.6.2",
@ -32,3 +31,9 @@ ignore = ["E402"]
check_untyped_defs = true check_untyped_defs = true
disallow_untyped_defs = true disallow_untyped_defs = true
warn_unused_configs = true warn_unused_configs = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"