setuptools_scm_git_archive is a setuptools_scm plugin that adds support for git archives (for example the ones GitHub automatically generates). WWW: https://github.com/Changaco/setuptools_scm_git_archive