blob: e9081d1eaa53b065b026da75ed40020d89427f40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/site-packages
}
toPythonPath() {
local paths="$1"
local result=
for i in $paths; do
p="$i/site-packages"
result="${result}${result:+:}$p"
done
echo $result
}
envHooks+=(addPythonPath)
|