|
|
|
|
|
|
|
|
|
if [ "${BASH_SOURCE-}" = "$0" ]; then |
|
echo "You must source this script: \$ source $0" >&2 |
|
exit 33 |
|
fi |
|
|
|
deactivate () { |
|
unset -f pydoc >/dev/null 2>&1 || true |
|
|
|
|
|
|
|
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then |
|
PATH="$_OLD_VIRTUAL_PATH" |
|
export PATH |
|
unset _OLD_VIRTUAL_PATH |
|
fi |
|
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then |
|
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME" |
|
export PYTHONHOME |
|
unset _OLD_VIRTUAL_PYTHONHOME |
|
fi |
|
|
|
|
|
|
|
|
|
hash -r 2>/dev/null |
|
|
|
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then |
|
PS1="$_OLD_VIRTUAL_PS1" |
|
export PS1 |
|
unset _OLD_VIRTUAL_PS1 |
|
fi |
|
|
|
unset VIRTUAL_ENV |
|
unset VIRTUAL_ENV_PROMPT |
|
if [ ! "${1-}" = "nondestructive" ] ; then |
|
|
|
unset -f deactivate |
|
fi |
|
} |
|
|
|
|
|
deactivate nondestructive |
|
|
|
VIRTUAL_ENV='C:\Users\Admin\roop-unleashed\mynewshinyroop' |
|
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then |
|
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV") |
|
fi |
|
export VIRTUAL_ENV |
|
|
|
_OLD_VIRTUAL_PATH="$PATH" |
|
PATH="$VIRTUAL_ENV/Scripts:$PATH" |
|
export PATH |
|
|
|
if [ "x" != x ] ; then |
|
VIRTUAL_ENV_PROMPT="" |
|
else |
|
VIRTUAL_ENV_PROMPT=$(basename "$VIRTUAL_ENV") |
|
fi |
|
export VIRTUAL_ENV_PROMPT |
|
|
|
|
|
if ! [ -z "${PYTHONHOME+_}" ] ; then |
|
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME" |
|
unset PYTHONHOME |
|
fi |
|
|
|
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then |
|
_OLD_VIRTUAL_PS1="${PS1-}" |
|
PS1="(${VIRTUAL_ENV_PROMPT}) ${PS1-}" |
|
export PS1 |
|
fi |
|
|
|
|
|
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true |
|
|
|
pydoc () { |
|
python -m pydoc "$@" |
|
} |
|
|
|
|
|
|
|
|
|
hash -r 2>/dev/null |
|
|