diff --git a/pyproject.toml b/pyproject.toml index 570dfb6..670e78d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,14 +8,13 @@ build-backend = "setuptools.build_meta" [project] name = "compas_dr" -version = "0.1.0" description = "Constrained form finding using the Dynamic Relaxation Method." keywords = ["form finding", "dynamic relaxation"] authors = [{ name = "tom van mele", email = "tom.v.mele@gmail.com" }] license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.9" -dynamic = ['dependencies', 'optional-dependencies'] +dynamic = ['dependencies', 'optional-dependencies', 'version'] classifiers = [ "Development Status :: 4 - Beta", "Topic :: Scientific/Engineering", @@ -40,6 +39,7 @@ include-package-data = true zip-safe = false [tool.setuptools.dynamic] +version = { attr = "compas_dr.__version__" } dependencies = { file = "requirements.txt" } optional-dependencies = { dev = { file = "requirements-dev.txt" }, hpc = { file = "requirements-hpc.txt" } }