vcversioner (use version control tags to discover version numbers) Write a setup.py with no version information specified, and vcversioner will find a recent, properly-formatted VCS tag and extract a version from it. Optional dependency: python3