Commit 7767c56a authored by isaak yansane-sisk's avatar isaak yansane-sisk

add all in sys.path to PYTHONPATH

parent d5deb01f
......@@ -1801,11 +1801,14 @@ py_script_template = script_header + '''\
%(relative_paths_setup)s
import sys
import os
sys.path[0:0] = [
%(path)s,
]
os.environ['PYTHONPATH'] = ':'.join(sys.path)
_interactive = True
if len(sys.argv) > 1:
_options, _args = __import__("getopt").getopt(sys.argv[1:], 'ic:m:')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment