wrapPythonProgram: exclude Python itself from PYTHONPATH
This commit is contained in:
@@ -17,6 +17,8 @@ buildPythonPath() {
|
||||
declare -A pythonPathsSeen=()
|
||||
program_PYTHONPATH=
|
||||
program_PATH=
|
||||
pythonPathsSeen["@python@"]=1
|
||||
addToSearchPath program_PATH @python@/bin
|
||||
for path in $pythonPath; do
|
||||
_addToPythonPath $path
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user