Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
__main__.py24 linesDownload Raw Back to wheel
1"""2Wheel command line tool (enable python -m wheel syntax)3"""4 5from __future__ import annotations6 7import sys8 9 10def main():  # needed for console script11    if __package__ == "":12        # To be able to run 'python wheel-0.9.whl/wheel':13        import os.path14 15        path = os.path.dirname(os.path.dirname(__file__))16        sys.path[0:0] = [path]17    import wheel.cli18 19    sys.exit(wheel.cli.main())20 21 22if __name__ == "__main__":23    sys.exit(main())24 
codekingpro/portable-devtools · Team Ai