2013-08-23 11:41:48 +01:00
|
|
|
addPythonPath() {
|
2015-07-15 18:40:56 +01:00
|
|
|
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.6/site-packages
|
2013-08-23 11:41:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
toPythonPath() {
|
|
|
|
local paths="$1"
|
|
|
|
local result=
|
|
|
|
for i in $paths; do
|
2015-07-15 18:40:56 +01:00
|
|
|
p="$i/lib/pypy2.6/site-packages"
|
2013-08-23 11:41:48 +01:00
|
|
|
result="${result}${result:+:}$p"
|
|
|
|
done
|
|
|
|
echo $result
|
|
|
|
}
|
|
|
|
|
2014-07-08 13:20:05 +01:00
|
|
|
envHooks+=(addPythonPath)
|