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