code: def set_version(version):
      
  
      with open(FILENAME) as pythonfile:
          content = pythonfile.read()
  
      output = re.sub(RE_VERSION, r"\1'{}'".format(version), content)
  
      if content == output:
          error('failed updating {}'.format(FILENAME))
  
      with open(FILENAME, 'w') as pythonfile:
          pythonfile.write(output)
docs: set the version in the projects root module