setuptools-scm · PyPI
https://pypi.org/project/setuptools-scmThe following settings are considered legacy behavior and superseded by the pyproject.toml usage, but for maximal compatibility, projects may also supply the configuration in this older form.. To use setuptools_scm just modify your project’s setup.py file like this:. Add setuptools_scm to the setup_requires parameter.; Add the use_scm_version parameter and set it to True.