setuptools_scm extracts Python package versions from git or hg metadata instead of declaring them as the version argument or in a SCM managed file. Additionally setuptools_scm provides setuptools with ...