Skip to content

Commit

Permalink
Merge pull request #1080 from paugier/hg-git_with_pdm
Browse files Browse the repository at this point in the history
Better cleanup PYTHONPATH for Mercurial calls (support for PDM)
  • Loading branch information
RonnyPfannschmidt authored Oct 24, 2024
2 parents be34dd1 + 24719f2 commit 3c145df
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 3c145df

Please sign in to comment.