Python wheel.tool() Examples

The following are 15 code examples of wheel.tool(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module wheel , or try the search function .
Example #1
Source File: __main__.py    From jbox with MIT License 5 votes vote down vote up
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()) 
Example #2
Source File: __main__.py    From auto-alt-text-lambda-api with MIT License 5 votes vote down vote up
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()) 
Example #3
Source File: __main__.py    From kobo-predict with BSD 2-Clause "Simplified" License 5 votes vote down vote up
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()) 
Example #4
Source File: __main__.py    From Safejumper-for-Desktop with GNU General Public License v2.0 5 votes vote down vote up
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()) 
Example #5
Source File: __main__.py    From telegram-robot-rss with Mozilla Public License 2.0 5 votes vote down vote up
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()) 
Example #6
Source File: __main__.py    From Financial-Portfolio-Flask with MIT License 5 votes vote down vote up
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()) 
Example #7
Source File: __main__.py    From Flask-P2P with MIT License 5 votes vote down vote up
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()) 
Example #8
Source File: __main__.py    From planespotter with MIT License 5 votes vote down vote up
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()) 
Example #9
Source File: __main__.py    From ImageFusion with MIT License 5 votes vote down vote up
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()) 
Example #10
Source File: __main__.py    From Ansible with MIT License 5 votes vote down vote up
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()) 
Example #11
Source File: __main__.py    From Splunking-Crime with GNU Affero General Public License v3.0 5 votes vote down vote up
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()) 
Example #12
Source File: __main__.py    From PhonePi_SampleServer with MIT License 5 votes vote down vote up
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()) 
Example #13
Source File: __main__.py    From syntheticmass with Apache License 2.0 5 votes vote down vote up
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()) 
Example #14
Source File: __main__.py    From android_universal with MIT License 5 votes vote down vote up
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()) 
Example #15
Source File: __main__.py    From keras-lambda with MIT License 5 votes vote down vote up
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())