code: def release(version, force=False):
      
      if version.startswith("v"):
          abort("Version should not start with 'v'")
      version_str = "v%s" % version
  
      clean()
  
      local("pip install wheel")
  
      puts(" * Uploading to PyPI")
      upload()
  
      puts(" * Tagging Version %s" % version_str)
      force_option = 'f' if force else ''
      local("git tag -%sam \"%s\" %s" % (force_option, version_str, version_str))
  
      puts(" * Pushing Tag to upstream")
      local("git push upstream %s" % version_str)
docs: Perform a release. Example:
  
      $ fab release:3.0.0