Skip to content

Commit 00edeb2

Browse files
committed
Undo to previous version for pyproject.toml for release to pypi
1 parent aab5e57 commit 00edeb2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "portpy"
7-
version = { file = "portpy/__init__.py" }
7+
dynamic = ["version"]
88
description = "First open-source radiation treatment planning system in Python"
99
readme = "README.md"
1010
license = "Apache-2.0"
@@ -50,6 +50,9 @@ dependencies = [
5050
where = ["."]
5151
include = ["portpy.*"]
5252

53+
[tool.setuptools.dynamic]
54+
version = { attr = "portpy.__version__" }
55+
5356
[tool.setuptools.package-data]
5457
"*" = ["*.md"]
5558

0 commit comments

Comments
 (0)