don't wrap scripts in EGG-INFO/scripts since they are called from python
This commit is contained in:
parent
4f5960e20d
commit
7458f29dc9
@ -23,10 +23,13 @@ wrapPythonProgramsIn() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if head -n1 "$i" | grep -q /python; then
|
if head -n1 "$i" | grep -q /python; then
|
||||||
echo "wrapping \`$i'..."
|
# dont wrap EGG-INFO scripts since they are called from python
|
||||||
wrapProgram "$i" \
|
if echo "$i" | grep -v EGG-INFO/scripts; then
|
||||||
--prefix PYTHONPATH ":" $program_PYTHONPATH \
|
echo "wrapping \`$i'..."
|
||||||
--prefix PATH ":" $program_PATH
|
wrapProgram "$i" \
|
||||||
|
--prefix PYTHONPATH ":" $program_PYTHONPATH \
|
||||||
|
--prefix PATH ":" $program_PATH
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user