mirror of
https://github.com/bvanroll/college-python-image.git
synced 2025-09-02 14:02:45 +00:00
first commit
This commit is contained in:
19
projecten1/lib/python3.6/site-packages/wheel/__main__.py
Normal file
19
projecten1/lib/python3.6/site-packages/wheel/__main__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
Wheel command line tool (enable python -m wheel syntax)
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
def main(): # needed for console script
|
||||
if __package__ == '':
|
||||
# To be able to run 'python wheel-0.9.whl/wheel':
|
||||
import os.path
|
||||
path = os.path.dirname(os.path.dirname(__file__))
|
||||
sys.path[0:0] = [path]
|
||||
import wheel.tool
|
||||
sys.exit(wheel.tool.main())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
Reference in New Issue
Block a user