* Revert the setup hook changes on the trunk (but they remain on the
stdenv-updates branch). svn path=/nixpkgs/trunk/; revision=9652
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
addPythonPath() {
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.5/site-packages "" $1
|
||||
local p=$1/lib/python2.5/site-packages
|
||||
if test -d $p; then
|
||||
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
|
||||
fi
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
addPythonPath() {
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.4/site-packages "" $1
|
||||
local p=$1/lib/python2.4/site-packages
|
||||
if test -d $p; then
|
||||
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
|
||||
fi
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
|
||||
Reference in New Issue
Block a user