File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ Install
7575~~~~~~~~~~~~~~~~~~
7676
7777Just add ``setuptools-git-versioning `` to ``build-sytem `` section of your ``pyproject.toml ``,
78- and a section ``tool.setuptools-git-versioning `` with config options:
78+ add a section ``tool.setuptools-git-versioning `` with config options, and mark the project
79+ ``version `` as dynamic.
7980
8081.. code :: toml
8182
@@ -86,6 +87,9 @@ and a section ``tool.setuptools-git-versioning`` with config options:
8687 [tool.setuptools-git-versioning]
8788 enabled = true
8889
90+ [project]
91+ dynamic = ["version"]
92+
8993 And check the package version generated (see `command help <https://setuptools-git-versioning.readthedocs.io/en/stable/command.html >`__):
9094
9195.. code :: bash
You can’t perform that action at this time.
0 commit comments