new_contents: if __name__ == '__main__':
      import sys
      from . import main
  
      exit = main()
      if exit:
          sys.exit(exit)
  
subject: Add a __main__.py to enable 'python -m pip' on Python 2.7+. Thanks Alexey Luchko.