forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-build: python+ensurepip not required (spack#28562)
* py-build: python+ensurepip not required * Add patch to fix issue when pip is in PYTHONPATH
- Loading branch information
1 parent
5272e72
commit 5c1edbe
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/src/build/env.py 2021-09-16 16:20:01.000000000 -0500 | ||
+++ b/src/build/env.py 2022-01-23 15:08:26.000000000 -0600 | ||
@@ -254,6 +254,7 @@ | ||
""" | ||
import venv | ||
|
||
+ os.environ.pop('PYTHONPATH', None) | ||
venv.EnvBuilder(with_pip=True, symlinks=_fs_supports_symlink()).create(path) | ||
executable, script_dir, purelib = _find_executable_and_scripts(path) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters