This is a demo repo that shows two ways of putting Git's commit hash into a Python module's __version__
attribute:
- Using Versioneer on the
versioneer
branch - Using setuptools_scm on the
setuptools-scm
branch.
I talk about this in my Normconf 2022 lightning talk.