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.
13 lines
388 B
13 lines
388 B
4 months ago
|
import runpy
|
||
|
import sys
|
||
|
|
||
|
sys.argv[0] = __loader__.archive
|
||
|
|
||
|
# Set sys.executable to None. The real executable is available as
|
||
|
# sys.argv[0], and too many things assume sys.executable is a regular Python
|
||
|
# binary, which isn't available. By setting it to None we get clear errors
|
||
|
# when people try to use it.
|
||
|
sys.executable = None
|
||
|
|
||
|
runpy._run_module_as_main("ENTRY_POINT", alter_argv=False)
|