openmedialibrary_platform_w.../Lib/site-packages/wheel/__main__.py

18 lines
416 B
Python
Raw Normal View History

2016-01-31 14:44:46 +00:00
"""
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())