Skip to content

Commit

Permalink
Better cleanup PYTHONPATH for Mercurial calls (support for PDM)
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Oct 23, 2024
1 parent be34dd1 commit 24719f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setuptools_scm/_run_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def avoid_pip_isolation(env: Mapping[str, str]) -> dict[str, str]:
[
path
for path in new_env["PYTHONPATH"].split(os.pathsep)
if "pip-build-env-" not in path
if "-build-env-" not in path
]
)
return new_env
Expand Down

0 comments on commit 24719f2

Please sign in to comment.