code: def get_setup_version(reponame):
      
      # importing self into setup.py is unorthodox, but param has no
      # required dependencies outside of python
      from param.version import Version
      return Version.setup_version(os.path.dirname(__file__),reponame,archive_commit="$Format:%h$")
docs: Use autover to get up to date version.