You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
455 B
23 lines
455 B
"""
|
|
Wheel command line tool (enable python -m wheel syntax)
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
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.cli
|
|
|
|
sys.exit(wheel.cli.main())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|
|
|