We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ef75a commit d059a6bCopy full SHA for d059a6b
builder/main.py
@@ -70,7 +70,7 @@ def add_to_pythonpath(path):
70
if "PYTHONPATH" in os.environ:
71
current_paths = os.environ["PYTHONPATH"].split(os.pathsep)
72
if normalized_path not in current_paths:
73
- os.environ["PYTHONPATH"] += os.pathsep + normalized_path
+ os.environ["PYTHONPATH"] = normalized_path + os.pathsep + os.environ.get("PYTHONPATH", "")
74
else:
75
os.environ["PYTHONPATH"] = normalized_path
76
0 commit comments