old_contents: ### publish new version of this library to PyPI
  ### Read more about publishing here: http://peterdowns.com/posts/first-time-with-pypi.html
  
  import git
  from shutil import copyfile
  import fileinput
  import sys
  import os
  
  yesOrNo = input('Have you commited all changes? Yes (Y) or no (n)?')
  
  if "Y" == yesOrNo:
      copyfile("./setup.py.default", "./setup.py")
  
      repo    = git.Repo(".")
      lasttag = sorted(repo.tags, key=lambda t: t.commit.committed_date)[-1]
      nexttag = "0." + str(int(str(lasttag).replace("0.", "")) + 1)
  
      for line in fileinput.input("./setup.py", inplace=True):
          line = line.replace("$VERSION", str(nexttag))
          sys.stdout.write(line),
  
      new_tag = repo.create_tag(str(nexttag), message='Automatic deployment of new version "{0}"'.format(nexttag))
      repo.remotes.origin.push(new_tag)
  
      os.system("python3.5 setup.py register -r pypitest")
      os.system("python3.5 setup.py sdist upload -r pypitest")
      os.system("python3.5 setup.py register -r pypi")
      os.system("python3.5 setup.py sdist upload -r pypi")
  
new_contents: ### publish new version of this library to PyPI
  ### Read more about publishing here: http://peterdowns.com/posts/first-time-with-pypi.html
  
  import git
  from shutil import copyfile
  import fileinput
  import sys
  import os
  
  yesOrNo = input('Have you commited all changes? Yes (Y) or no (n)?')
  
  if "Y" == yesOrNo:
      copyfile("./setup.py.default", "./setup.py")
  
      repo    = git.Repo(".")
      lasttag = sorted(repo.tags, key=lambda t: t.commit.committed_date)[-1]
      nexttag = "0." + str(int(str(lasttag).replace("0.", "")) + 1)
  
      for line in fileinput.input("./setup.py", inplace=True):
          line = line.replace("$VERSION", str(nexttag))
          sys.stdout.write(line),
  
      new_tag = repo.create_tag(str(nexttag), message='Automatic deployment of new version "{0}"'.format(nexttag))
      repo.remotes.origin.push(new_tag)
  
      os.system("python3 setup.py register -r pypitest")
      os.system("python3 setup.py sdist upload -r pypitest")
      os.system("python3 setup.py register -r pypi")
      os.system("python3 setup.py sdist upload -r pypi")
  
subject: deploy mod to use python3 instead of python3.5