Mercurial > repos > guerler > hhblits
comparison lib/python3.8/site-packages/wheel/__main__.py @ 1:64071f2a4cf0 draft default tip
Deleted selected files
| author | guerler |
|---|---|
| date | Mon, 27 Jul 2020 03:55:49 -0400 |
| parents | 9e54283cc701 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:9e54283cc701 | 1:64071f2a4cf0 |
|---|---|
| 1 """ | |
| 2 Wheel command line tool (enable python -m wheel syntax) | |
| 3 """ | |
| 4 | |
| 5 import sys | |
| 6 | |
| 7 | |
| 8 def main(): # needed for console script | |
| 9 if __package__ == '': | |
| 10 # To be able to run 'python wheel-0.9.whl/wheel': | |
| 11 import os.path | |
| 12 path = os.path.dirname(os.path.dirname(__file__)) | |
| 13 sys.path[0:0] = [path] | |
| 14 import wheel.cli | |
| 15 sys.exit(wheel.cli.main()) | |
| 16 | |
| 17 | |
| 18 if __name__ == "__main__": | |
| 19 sys.exit(main()) |
