There are more elegant ways to do this procedurally--looking up Git tags during the build process, etc. But this is the obviously simple approach and better than not including version information at all (current state). Useful for procedural requirements.txt generators in packages that use this one.
There are more elegant ways to do this procedurally--looking up Git tags during the build process, etc. But this is the obviously simple approach and better than not including version information at all (current state). Useful for procedural requirements.txt generators in packages that use this one.