Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

20 linhas
417 B

  1. """
  2. Wheel command line tool (enable python -m wheel syntax)
  3. """
  4. import sys
  5. def main(): # needed for console script
  6. if __package__ == '':
  7. # To be able to run 'python wheel-0.9.whl/wheel':
  8. import os.path
  9. path = os.path.dirname(os.path.dirname(__file__))
  10. sys.path[0:0] = [path]
  11. import wheel.cli
  12. sys.exit(wheel.cli.main())
  13. if __name__ == "__main__":
  14. sys.exit(main())