Skip to content

Commit 3c145df

Browse files
Merge pull request #1080 from paugier/hg-git_with_pdm
Better cleanup PYTHONPATH for Mercurial calls (support for PDM)
2 parents be34dd1 + 24719f2 commit 3c145df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setuptools_scm/_run_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def avoid_pip_isolation(env: Mapping[str, str]) -> dict[str, str]:
117117
[
118118
path
119119
for path in new_env["PYTHONPATH"].split(os.pathsep)
120-
if "pip-build-env-" not in path
120+
if "-build-env-" not in path
121121
]
122122
)
123123
return new_env

0 commit comments

Comments
 (0)