1import runpy 2import sys 3 4sys.argv[0] = __loader__.archive 5 6# Set sys.executable to None. The real executable is available as 7# sys.argv[0], and too many things assume sys.executable is a regular Python 8# binary, which isn't available. By setting it to None we get clear errors 9# when people try to use it. 10sys.executable = None 11 12runpy._run_module_as_main("ENTRY_POINT", alter_argv=False) 13