setuptools_scm.parse_scm

Project Entry Point
setuptools-scm .git
setuptools-scm .hg
setuptools_scm_git_archive .git_archival.txt