add python32

This commit is contained in:
Domen Kozar
2013-07-23 11:36:33 +02:00
parent bea0ac29d4
commit e41fc2a677
3 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python3.2/site-packages
}
toPythonPath() {
local paths="$1"
local result=
for i in $paths; do
p="$i/lib/python3.2/site-packages"
result="${result}${result:+:}$p"
done
echo $result
}
envHooks=(${envHooks[@]} addPythonPath)