Unverified Commit 16eddc62 authored by Jabasukuriputo Wang's avatar Jabasukuriputo Wang Committed by GitHub
Browse files

prepend the pythonpath instead of overriding it

parent 394ffa7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ def run_extension_installer(extension_dir):

    try:
        env = os.environ.copy()
        env['PYTHONPATH'] = os.path.abspath(".")
        env['PYTHONPATH'] = f"{os.path.abspath('.')}{os.pathsep}{env['PYTHONPATH']}"

        print(run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env))
    except Exception as e: