##// END OF EJS Templates
pyoxidizer: re-install PYTHONPATH behavior...
marmoute -
r48658:b962a913 stable
parent child Browse files
Show More
@@ -36,6 +36,14 b' IS_WINDOWS = "windows" in BUILD_TARGET_T'
36
36
37 # Code to run in Python interpreter.
37 # Code to run in Python interpreter.
38 RUN_CODE = """
38 RUN_CODE = """
39 import os
40 import sys
41 extra_path = os.environ.get('PYTHONPATH')
42 if extra_path is not None:
43 # extensions and hooks expect a working python environment
44 # We do not prepend the values because the Mercurial library wants to be in
45 # the front of the sys.path to avoid picking up other installations.
46 sys.path.extend(extra_path.split(os.pathsep))
39 import hgdemandimport;
47 import hgdemandimport;
40 hgdemandimport.enable();
48 hgdemandimport.enable();
41 from mercurial import dispatch;
49 from mercurial import dispatch;
General Comments 0
You need to be logged in to leave comments. Login now