This seems less intrusive than pbr
since that doesn't handle the current file layout. This uses setuptools-scm
which automatically grabs the version from git
, or PKG-INFO
from the sdist. I've also added setuptools-scm-git-archive
which should handle the case of downloading tagged tarballs from the GitLab here.
Fixes #108 (closed).