diff --git a/src/scicookie/{{cookiecutter.project_slug}}/build-system/setuptools-pyproject.toml b/src/scicookie/{{cookiecutter.project_slug}}/build-system/setuptools-pyproject.toml index 57188b0b..b236b91a 100644 --- a/src/scicookie/{{cookiecutter.project_slug}}/build-system/setuptools-pyproject.toml +++ b/src/scicookie/{{cookiecutter.project_slug}}/build-system/setuptools-pyproject.toml @@ -110,6 +110,9 @@ dependencies = [ {% endif %} ] +[tool.setuptools.dynamic] +version = {attr = "{{ cookiecutter.package_slug }}.__version__"} + [project.urls] Homepage = "{{ cookiecutter.project_url }}" "Bug Tracker" = "{{ cookiecutter.project_url }}/issues"