diff --git a/ue4cli/__main__.py b/__main__.py similarity index 90% rename from ue4cli/__main__.py rename to __main__.py index 6eeefbc..58682d0 100644 --- a/ue4cli/__main__.py +++ b/__main__.py @@ -1,8 +1,8 @@ -from .cli import main +from ue4cli.cli import main import os, sys if __name__ == '__main__': - + # Rewrite sys.argv[0] so our help prompts display the correct base command interpreter = sys.executable if sys.executable not in [None, ''] else 'python3' sys.argv[0] = '{} -m ue4cli'.format(os.path.basename(interpreter))