How to set dynamic version in PDM.
Change the pyproject.toml
[project]
...
- version = "0.1.0" remove this line
+ dynamic = ["version"]
Add new configuration:
[tool.pdm.version]
source = "file"
path = "mypackage/__init__.py"
How to set dynamic version in PDM.
Change the pyproject.toml
[project]
...
- version = "0.1.0" remove this line
+ dynamic = ["version"]
Add new configuration:
[tool.pdm.version]
source = "file"
path = "mypackage/__init__.py"