Mercurial > repos > guerler > hhblits
comparison lib/python3.8/site-packages/wheel/__main__.py @ 0:9e54283cc701 draft
"planemo upload commit d12c32a45bcd441307e632fca6d9af7d60289d44"
author | guerler |
---|---|
date | Mon, 27 Jul 2020 03:47:31 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9e54283cc701 |
---|---|
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()) |