[ -n "$HOSTNAME" ] || HOSTNAME=`hostname 2>/dev/null`
export HOSTNAME
+# Setup environment for Python "pip", if installed
+if [ "$(type -t pip 2>/dev/null)" ]; then
+ export PIP_REQUIRE_VIRTUALENV=true
+ export PIP_DOWNLOAD_CACHE="$HOME/.cache/pip"
+fi
+
# Move Xauthority file to local storage, so that sudo et all work
if [ -z "$XAUTHORITY" -a -r ~/.Xauthority ]; then
cp ~/.Xauthority /tmp/Xauthority-$LOGNAME