Created
September 13, 2015 12:36
-
-
Save srus/fa4470ef60365a6e9a43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ mktmpenv | |
+ typeset tmpenvname | |
+ typeset RC | |
+ typeset -a in_args | |
+ typeset -a out_args | |
+ in_args=("$@") | |
+ '[' -n '' ']' | |
+ i=0 | |
+ tst=-lt | |
+ typeset cd_after_activate=1 | |
+ '[' 0 -lt 0 ']' | |
+ set -- | |
++ /usr/bin/python -c 'import uuid,sys; sys.stdout.write(uuid.uuid4()+"\n")' | |
+ tmpenvname= | |
+ '[' -z '' ']' | |
++ /usr/bin/python -c 'import random,sys; sys.stdout.write(hex(random.getrandbits(64))[2:-1]+"\n")' | |
+ tmpenvname=190b5701ed67e156 | |
+ tmpenvname=tmp-190b5701ed67e156 | |
+ mkvirtualenv tmp-190b5701ed67e156 | |
+ typeset -a in_args | |
+ typeset -a out_args | |
+ typeset -i i | |
+ typeset tst | |
+ typeset a | |
+ typeset envname | |
+ typeset requirements | |
+ typeset packages | |
+ typeset interpreter | |
+ typeset project | |
+ in_args=("$@") | |
+ '[' -n '' ']' | |
+ i=0 | |
+ tst=-lt | |
+ '[' 0 -lt 1 ']' | |
+ a=tmp-190b5701ed67e156 | |
+ case "$a" in | |
+ '[' 0 -gt 0 ']' | |
+ out_args=("$a") | |
+ i=1 | |
+ '[' 1 -lt 1 ']' | |
+ '[' '!' -z ']' | |
+ set -- tmp-190b5701ed67e156 | |
+ eval 'envname=$1' | |
++ envname=tmp-190b5701ed67e156 | |
+ virtualenvwrapper_verify_workon_home | |
+ RC=0 | |
+ '[' '!' -d /home/sergio/.virtualenvs/ ']' | |
+ return 0 | |
+ virtualenvwrapper_verify_virtualenv | |
+ virtualenvwrapper_verify_resource virtualenv | |
++ command which virtualenv | |
++ which virtualenv | |
++ unset GREP_OPTIONS | |
++ command grep -v 'not found' | |
++ grep -v 'not found' | |
+ typeset exe_path=/usr/local/bin/virtualenv | |
+ '[' /usr/local/bin/virtualenv = '' ']' | |
+ '[' '!' -e /usr/local/bin/virtualenv ']' | |
+ return 0 | |
+ '[' -n '' ']' | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ virtualenv tmp-190b5701ed67e156 | |
New python executable in tmp-190b5701ed67e156/bin/python | |
Installing setuptools, pip, wheel...done. | |
+ '[' -d /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
+ virtualenvwrapper_run_hook pre_mkvirtualenv tmp-190b5701ed67e156 | |
+ typeset hook_script | |
+ typeset result | |
++ virtualenvwrapper_tempfile pre_mkvirtualenv-hook | |
++ typeset suffix=pre_mkvirtualenv-hook | |
++ typeset file | |
+++ virtualenvwrapper_mktemp -t virtualenvwrapper-pre_mkvirtualenv-hook-XXXXXXXXXX | |
+++ command mktemp -t virtualenvwrapper-pre_mkvirtualenv-hook-XXXXXXXXXX | |
+++ mktemp -t virtualenvwrapper-pre_mkvirtualenv-hook-XXXXXXXXXX | |
++ file=/tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
++ touch /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
++ '[' 0 -ne 0 ']' | |
++ '[' -z /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu ']' | |
++ '[' '!' -f /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu ']' | |
++ echo /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
++ return 0 | |
+ hook_script=/tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu pre_mkvirtualenv tmp-190b5701ed67e156 | |
virtualenvwrapper.hook_loader Running pre_mkvirtualenv hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_mkvirtualenv hooks | |
virtualenvwrapper.hook_loader running user_scripts | |
virtualenvwrapper.user_scripts pre_mkvirtualenv ['tmp-190b5701ed67e156'] | |
virtualenvwrapper.user_scripts creating /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/predeactivate | |
virtualenvwrapper.user_scripts creating /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postdeactivate | |
virtualenvwrapper.user_scripts creating /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/preactivate | |
virtualenvwrapper.user_scripts creating /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postactivate | |
virtualenvwrapper.user_scripts creating /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/get_env_details | |
virtualenvwrapper.user_scripts running ['/home/sergio/.virtualenvs/premkvirtualenv', 'tmp-190b5701ed67e156'] | |
virtualenvwrapper.hook_loader Saving sourcable pre_mkvirtualenv hooks to /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_mkvirtualenv_source hooks | |
+ result=0 | |
+ '[' 0 -eq 0 ']' | |
+ '[' '!' -f /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu ']' | |
+ source /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
+ command rm -f /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
+ rm -f /tmp/virtualenvwrapper-pre_mkvirtualenv-hook-usHwzcVEYu | |
+ return 0 | |
+ typeset RC=0 | |
+ '[' 0 -ne 0 ']' | |
+ '[' '!' -d /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
+ '[' '!' -z '' ']' | |
+ workon tmp-190b5701ed67e156 | |
+ typeset -a in_args | |
+ typeset -a out_args | |
+ in_args=("$@") | |
+ '[' -n '' ']' | |
+ i=0 | |
+ tst=-lt | |
+ typeset cd_after_activate=1 | |
+ '[' 0 -lt 1 ']' | |
+ a=tmp-190b5701ed67e156 | |
+ case "$a" in | |
+ '[' 0 -gt 0 ']' | |
+ out_args=("$a") | |
+ i=1 | |
+ '[' 1 -lt 1 ']' | |
+ set -- tmp-190b5701ed67e156 | |
+ typeset env_name=tmp-190b5701ed67e156 | |
+ '[' tmp-190b5701ed67e156 = '' ']' | |
+ '[' tmp-190b5701ed67e156 = . ']' | |
+ virtualenvwrapper_verify_workon_home | |
+ RC=0 | |
+ '[' '!' -d /home/sergio/.virtualenvs/ ']' | |
+ return 0 | |
+ virtualenvwrapper_verify_workon_environment tmp-190b5701ed67e156 | |
+ typeset env_name=tmp-190b5701ed67e156 | |
+ '[' '!' -d /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
+ return 0 | |
+ activate=/home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/activate | |
+ '[' '!' -f /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/activate ']' | |
+ type deactivate | |
+ '[' 1 -eq 0 ']' | |
+ virtualenvwrapper_run_hook pre_activate tmp-190b5701ed67e156 | |
+ typeset hook_script | |
+ typeset result | |
++ virtualenvwrapper_tempfile pre_activate-hook | |
++ typeset suffix=pre_activate-hook | |
++ typeset file | |
+++ virtualenvwrapper_mktemp -t virtualenvwrapper-pre_activate-hook-XXXXXXXXXX | |
+++ command mktemp -t virtualenvwrapper-pre_activate-hook-XXXXXXXXXX | |
+++ mktemp -t virtualenvwrapper-pre_activate-hook-XXXXXXXXXX | |
++ file=/tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
++ touch /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
++ '[' 0 -ne 0 ']' | |
++ '[' -z /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz ']' | |
++ '[' '!' -f /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz ']' | |
++ echo /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
++ return 0 | |
+ hook_script=/tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz pre_activate tmp-190b5701ed67e156 | |
virtualenvwrapper.hook_loader Running pre_activate hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_activate hooks | |
virtualenvwrapper.hook_loader running user_scripts | |
virtualenvwrapper.user_scripts pre_activate | |
virtualenvwrapper.user_scripts running ['/home/sergio/.virtualenvs/preactivate', 'tmp-190b5701ed67e156'] | |
virtualenvwrapper.user_scripts running ['/home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/preactivate', 'tmp-190b5701ed67e156'] | |
virtualenvwrapper.hook_loader Saving sourcable pre_activate hooks to /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_activate_source hooks | |
+ result=0 | |
+ '[' 0 -eq 0 ']' | |
+ '[' '!' -f /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz ']' | |
+ source /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
+ command rm -f /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
+ rm -f /tmp/virtualenvwrapper-pre_activate-hook-2xZJLsYpLz | |
+ return 0 | |
+ source /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/activate | |
++ deactivate nondestructive | |
++ unset pydoc | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ '[' -n /bin/bash -o -n '' ']' | |
++ hash -r | |
++ '[' -n '' ']' | |
++ unset VIRTUAL_ENV | |
++ '[' '!' nondestructive = nondestructive ']' | |
++ VIRTUAL_ENV=/home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
++ export VIRTUAL_ENV | |
++ _OLD_VIRTUAL_PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/heroku/bin:/usr/lib/go/bin:/home/sergio/scripts:/home/sergio/software/sublime-text/bin:/home/sergio/software/dart/dart-sdk/bin:/home/sergio/.rvm/bin | |
++ PATH=/home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/heroku/bin:/usr/lib/go/bin:/home/sergio/scripts:/home/sergio/software/sublime-text/bin:/home/sergio/software/dart/dart-sdk/bin:/home/sergio/.rvm/bin | |
++ export PATH | |
++ '[' -n '' ']' | |
++ '[' -z '' ']' | |
++ _OLD_VIRTUAL_PS1= | |
++ '[' x '!=' x ']' | |
+++ basename /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
++ '[' tmp-190b5701ed67e156 = __ ']' | |
+++ basename /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
++ PS1='(tmp-190b5701ed67e156)' | |
++ export PS1 | |
++ alias 'pydoc=python -m pydoc' | |
++ '[' -n /bin/bash -o -n '' ']' | |
++ hash -r | |
++ typeset -f deactivate | |
++ sed s/deactivate/virtualenv_deactivate/g | |
+ virtualenvwrapper_original_deactivate='virtualenv_deactivate () | |
{ | |
unset pydoc; | |
if [ -n "${_OLD_VIRTUAL_PATH-}" ]; then | |
PATH="$_OLD_VIRTUAL_PATH"; | |
export PATH; | |
unset _OLD_VIRTUAL_PATH; | |
fi; | |
if [ -n "${_OLD_VIRTUAL_PYTHONHOME-}" ]; then | |
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"; | |
export PYTHONHOME; | |
unset _OLD_VIRTUAL_PYTHONHOME; | |
fi; | |
if [ -n "${BASH-}" -o -n "${ZSH_VERSION-}" ]; then | |
hash -r 2> /dev/null; | |
fi; | |
if [ -n "${_OLD_VIRTUAL_PS1-}" ]; then | |
PS1="$_OLD_VIRTUAL_PS1"; | |
export PS1; | |
unset _OLD_VIRTUAL_PS1; | |
fi; | |
unset VIRTUAL_ENV; | |
if [ ! "${1-}" = "nondestructive" ]; then | |
unset -f virtualenv_deactivate; | |
fi | |
}' | |
+ eval 'virtualenv_deactivate () | |
{ | |
unset pydoc; | |
if [ -n "${_OLD_VIRTUAL_PATH-}" ]; then | |
PATH="$_OLD_VIRTUAL_PATH"; | |
export PATH; | |
unset _OLD_VIRTUAL_PATH; | |
fi; | |
if [ -n "${_OLD_VIRTUAL_PYTHONHOME-}" ]; then | |
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"; | |
export PYTHONHOME; | |
unset _OLD_VIRTUAL_PYTHONHOME; | |
fi; | |
if [ -n "${BASH-}" -o -n "${ZSH_VERSION-}" ]; then | |
hash -r 2> /dev/null; | |
fi; | |
if [ -n "${_OLD_VIRTUAL_PS1-}" ]; then | |
PS1="$_OLD_VIRTUAL_PS1"; | |
export PS1; | |
unset _OLD_VIRTUAL_PS1; | |
fi; | |
unset VIRTUAL_ENV; | |
if [ ! "${1-}" = "nondestructive" ]; then | |
unset -f virtualenv_deactivate; | |
fi | |
}' | |
+ unset -f deactivate | |
+ eval 'deactivate () { | |
typeset env_postdeactivate_hook | |
typeset old_env | |
# Call the local hook before the global so we can undo | |
# any settings made by the local postactivate first. | |
virtualenvwrapper_run_hook "pre_deactivate" | |
env_postdeactivate_hook="$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR/postdeactivate" | |
old_env=$(basename "$VIRTUAL_ENV") | |
# Call the original function. | |
virtualenv_deactivate $1 | |
virtualenvwrapper_run_hook "post_deactivate" "$old_env" | |
if [ ! "$1" = "nondestructive" ] | |
then | |
# Remove this function | |
unset -f virtualenv_deactivate >/dev/null 2>&1 | |
unset -f deactivate >/dev/null 2>&1 | |
fi | |
}' | |
+ VIRTUALENVWRAPPER_PROJECT_CD=1 | |
+ virtualenvwrapper_run_hook post_activate | |
+ typeset hook_script | |
+ typeset result | |
++ virtualenvwrapper_tempfile post_activate-hook | |
++ typeset suffix=post_activate-hook | |
++ typeset file | |
+++ virtualenvwrapper_mktemp -t virtualenvwrapper-post_activate-hook-XXXXXXXXXX | |
+++ command mktemp -t virtualenvwrapper-post_activate-hook-XXXXXXXXXX | |
+++ mktemp -t virtualenvwrapper-post_activate-hook-XXXXXXXXXX | |
++ file=/tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
++ touch /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
++ '[' 0 -ne 0 ']' | |
++ '[' -z /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N ']' | |
++ '[' '!' -f /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N ']' | |
++ echo /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
++ return 0 | |
+ hook_script=/tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N post_activate | |
virtualenvwrapper.hook_loader Running post_activate hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_activate hooks | |
virtualenvwrapper.hook_loader Saving sourcable post_activate hooks to /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_activate_source hooks | |
virtualenvwrapper.hook_loader getting source instructions for project | |
virtualenvwrapper.hook_loader getting source instructions for user_scripts | |
virtualenvwrapper.user_scripts post_activate_source | |
+ result=0 | |
+ '[' 0 -eq 0 ']' | |
+ '[' '!' -f /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N ']' | |
+ source /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
++ '[' -f /home/sergio/.virtualenvs/tmp-190b5701ed67e156/.project -a 1 = 1 ']' | |
++ '[' -f /home/sergio/.virtualenvs/postactivate ']' | |
++ source /home/sergio/.virtualenvs/postactivate | |
++ '[' -f /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postactivate ']' | |
++ source /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postactivate | |
+ command rm -f /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
+ rm -f /tmp/virtualenvwrapper-post_activate-hook-lXZy0rpf7N | |
+ return 0 | |
+ return 0 | |
+ '[' '!' -z '' ']' | |
+ virtualenvwrapper_run_hook post_mkvirtualenv | |
+ typeset hook_script | |
+ typeset result | |
++ virtualenvwrapper_tempfile post_mkvirtualenv-hook | |
++ typeset suffix=post_mkvirtualenv-hook | |
++ typeset file | |
+++ virtualenvwrapper_mktemp -t virtualenvwrapper-post_mkvirtualenv-hook-XXXXXXXXXX | |
+++ command mktemp -t virtualenvwrapper-post_mkvirtualenv-hook-XXXXXXXXXX | |
+++ mktemp -t virtualenvwrapper-post_mkvirtualenv-hook-XXXXXXXXXX | |
++ file=/tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
++ touch /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
++ '[' 0 -ne 0 ']' | |
++ '[' -z /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN ']' | |
++ '[' '!' -f /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN ']' | |
++ echo /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
++ return 0 | |
+ hook_script=/tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN post_mkvirtualenv | |
virtualenvwrapper.hook_loader Running post_mkvirtualenv hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_mkvirtualenv hooks | |
virtualenvwrapper.hook_loader Saving sourcable post_mkvirtualenv hooks to /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_mkvirtualenv_source hooks | |
virtualenvwrapper.hook_loader getting source instructions for user_scripts | |
virtualenvwrapper.user_scripts post_mkvirtualenv_source [] | |
+ result=0 | |
+ '[' 0 -eq 0 ']' | |
+ '[' '!' -f /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN ']' | |
+ source /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
++ '[' -f /home/sergio/.virtualenvs/postmkvirtualenv ']' | |
++ source /home/sergio/.virtualenvs/postmkvirtualenv | |
+ command rm -f /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
+ rm -f /tmp/virtualenvwrapper-post_mkvirtualenv-hook-crRmqN8xlN | |
+ return 0 | |
+ RC=0 | |
+ '[' 0 -ne 0 ']' | |
+ '[' 1 = 1 ']' | |
+ cdvirtualenv | |
+ virtualenvwrapper_verify_workon_home | |
+ RC=0 | |
+ '[' '!' -d /home/sergio/.virtualenvs/ ']' | |
+ return 0 | |
+ virtualenvwrapper_verify_active_environment | |
+ '[' '!' -n /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
+ '[' '!' -d /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
+ return 0 | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs/tmp-190b5701ed67e156/ | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs/tmp-190b5701ed67e156/ | |
+ echo 'This is a temporary environment. It will be deleted when you run '\''deactivate'\''.' | |
+ tee /home/sergio/.virtualenvs/tmp-190b5701ed67e156/README.tmpenv | |
This is a temporary environment. It will be deleted when you run 'deactivate'. | |
+ cat - | |
++ basename /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
++ basename /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
+ deactivate | |
+ typeset env_postdeactivate_hook | |
+ typeset old_env | |
+ virtualenvwrapper_run_hook pre_deactivate | |
+ typeset hook_script | |
+ typeset result | |
++ virtualenvwrapper_tempfile pre_deactivate-hook | |
++ typeset suffix=pre_deactivate-hook | |
++ typeset file | |
+++ virtualenvwrapper_mktemp -t virtualenvwrapper-pre_deactivate-hook-XXXXXXXXXX | |
+++ command mktemp -t virtualenvwrapper-pre_deactivate-hook-XXXXXXXXXX | |
+++ mktemp -t virtualenvwrapper-pre_deactivate-hook-XXXXXXXXXX | |
++ file=/tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
++ touch /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
++ '[' 0 -ne 0 ']' | |
++ '[' -z /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP ']' | |
++ '[' '!' -f /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP ']' | |
++ echo /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
++ return 0 | |
+ hook_script=/tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP pre_deactivate | |
virtualenvwrapper.hook_loader Running pre_deactivate hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_deactivate hooks | |
virtualenvwrapper.hook_loader Saving sourcable pre_deactivate hooks to /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_deactivate_source hooks | |
virtualenvwrapper.hook_loader getting source instructions for user_scripts | |
virtualenvwrapper.user_scripts pre_deactivate_source | |
+ result=0 | |
+ '[' 0 -eq 0 ']' | |
+ '[' '!' -f /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP ']' | |
+ source /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
++ '[' -f /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/predeactivate ']' | |
++ source /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/predeactivate | |
++ '[' -f /home/sergio/.virtualenvs/predeactivate ']' | |
++ source /home/sergio/.virtualenvs/predeactivate | |
+ command rm -f /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
+ rm -f /tmp/virtualenvwrapper-pre_deactivate-hook-M2x5ZyRkQP | |
+ return 0 | |
+ env_postdeactivate_hook=/home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postdeactivate | |
++ basename /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
+ old_env=tmp-190b5701ed67e156 | |
+ virtualenv_deactivate | |
+ unset pydoc | |
+ '[' -n /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/heroku/bin:/usr/lib/go/bin:/home/sergio/scripts:/home/sergio/software/sublime-text/bin:/home/sergio/software/dart/dart-sdk/bin:/home/sergio/.rvm/bin ']' | |
+ PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/heroku/bin:/usr/lib/go/bin:/home/sergio/scripts:/home/sergio/software/sublime-text/bin:/home/sergio/software/dart/dart-sdk/bin:/home/sergio/.rvm/bin | |
+ export PATH | |
+ unset _OLD_VIRTUAL_PATH | |
+ '[' -n '' ']' | |
+ '[' -n /bin/bash -o -n '' ']' | |
+ hash -r | |
+ '[' -n '' ']' | |
+ unset VIRTUAL_ENV | |
+ '[' '!' '' = nondestructive ']' | |
+ unset -f virtualenv_deactivate | |
+ virtualenvwrapper_run_hook post_deactivate tmp-190b5701ed67e156 | |
+ typeset hook_script | |
+ typeset result | |
++ virtualenvwrapper_tempfile post_deactivate-hook | |
++ typeset suffix=post_deactivate-hook | |
++ typeset file | |
+++ virtualenvwrapper_mktemp -t virtualenvwrapper-post_deactivate-hook-XXXXXXXXXX | |
+++ command mktemp -t virtualenvwrapper-post_deactivate-hook-XXXXXXXXXX | |
+++ mktemp -t virtualenvwrapper-post_deactivate-hook-XXXXXXXXXX | |
++ file=/tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
++ touch /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
++ '[' 0 -ne 0 ']' | |
++ '[' -z /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB ']' | |
++ '[' '!' -f /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB ']' | |
++ echo /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
++ return 0 | |
+ hook_script=/tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
+ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+ '[' -n /bin/bash ']' | |
+ builtin cd /home/sergio/.virtualenvs | |
+ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB post_deactivate tmp-190b5701ed67e156 | |
virtualenvwrapper.hook_loader Running post_deactivate hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_deactivate hooks | |
virtualenvwrapper.hook_loader Saving sourcable post_deactivate hooks to /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_deactivate_source hooks | |
virtualenvwrapper.hook_loader getting source instructions for user_scripts | |
virtualenvwrapper.user_scripts post_deactivate_source | |
+ result=0 | |
+ '[' 0 -eq 0 ']' | |
+ '[' '!' -f /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB ']' | |
+ source /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
++ VIRTUALENVWRAPPER_LAST_VIRTUAL_ENV=/home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
++ '[' -f /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postdeactivate ']' | |
++ source /home/sergio/.virtualenvs/tmp-190b5701ed67e156/bin/postdeactivate | |
+++ '[' -f /home/sergio/.virtualenvs/tmp-190b5701ed67e156/README.tmpenv ']' | |
+++ echo 'Removing temporary environment:' tmp-190b5701ed67e156 | |
Removing temporary environment: tmp-190b5701ed67e156 | |
+++ rmvirtualenv tmp-190b5701ed67e156 | |
+++ virtualenvwrapper_verify_workon_home | |
+++ RC=0 | |
+++ '[' '!' -d /home/sergio/.virtualenvs/ ']' | |
+++ return 0 | |
+++ '[' 1 = 0 ']' | |
+++ typeset env_name | |
+++ for env_name in '"$@"' | |
+++ echo 'Removing tmp-190b5701ed67e156...' | |
Removing tmp-190b5701ed67e156... | |
+++ typeset env_dir=/home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
+++ '[' '' = /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
+++ '[' '!' -d /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
++++ pwd | |
+++ typeset prior_dir=/home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
+++ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+++ '[' -n /bin/bash ']' | |
+++ builtin cd /home/sergio/.virtualenvs | |
+++ virtualenvwrapper_run_hook pre_rmvirtualenv tmp-190b5701ed67e156 | |
+++ typeset hook_script | |
+++ typeset result | |
++++ virtualenvwrapper_tempfile pre_rmvirtualenv-hook | |
++++ typeset suffix=pre_rmvirtualenv-hook | |
++++ typeset file | |
+++++ virtualenvwrapper_mktemp -t virtualenvwrapper-pre_rmvirtualenv-hook-XXXXXXXXXX | |
+++++ command mktemp -t virtualenvwrapper-pre_rmvirtualenv-hook-XXXXXXXXXX | |
+++++ mktemp -t virtualenvwrapper-pre_rmvirtualenv-hook-XXXXXXXXXX | |
++++ file=/tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
++++ touch /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
++++ '[' 0 -ne 0 ']' | |
++++ '[' -z /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ ']' | |
++++ '[' '!' -f /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ ']' | |
++++ echo /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
++++ return 0 | |
+++ hook_script=/tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
+++ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+++ '[' -n /bin/bash ']' | |
+++ builtin cd /home/sergio/.virtualenvs | |
+++ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ pre_rmvirtualenv tmp-190b5701ed67e156 | |
virtualenvwrapper.hook_loader Running pre_rmvirtualenv hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_rmvirtualenv hooks | |
virtualenvwrapper.hook_loader running user_scripts | |
virtualenvwrapper.user_scripts pre_rmvirtualenv | |
virtualenvwrapper.user_scripts running ['/home/sergio/.virtualenvs/prermvirtualenv', 'tmp-190b5701ed67e156'] | |
virtualenvwrapper.hook_loader Saving sourcable pre_rmvirtualenv hooks to /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.pre_rmvirtualenv_source hooks | |
+++ result=0 | |
+++ '[' 0 -eq 0 ']' | |
+++ '[' '!' -f /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ ']' | |
+++ source /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
+++ command rm -f /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
+++ rm -f /tmp/virtualenvwrapper-pre_rmvirtualenv-hook-GBnt29oYRZ | |
+++ return 0 | |
+++ command rm -rf /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
+++ rm -rf /home/sergio/.virtualenvs/tmp-190b5701ed67e156 | |
+++ virtualenvwrapper_run_hook post_rmvirtualenv tmp-190b5701ed67e156 | |
+++ typeset hook_script | |
+++ typeset result | |
++++ virtualenvwrapper_tempfile post_rmvirtualenv-hook | |
++++ typeset suffix=post_rmvirtualenv-hook | |
++++ typeset file | |
+++++ virtualenvwrapper_mktemp -t virtualenvwrapper-post_rmvirtualenv-hook-XXXXXXXXXX | |
+++++ command mktemp -t virtualenvwrapper-post_rmvirtualenv-hook-XXXXXXXXXX | |
+++++ mktemp -t virtualenvwrapper-post_rmvirtualenv-hook-XXXXXXXXXX | |
++++ file=/tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
++++ touch /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
++++ '[' 0 -ne 0 ']' | |
++++ '[' -z /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj ']' | |
++++ '[' '!' -f /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj ']' | |
++++ echo /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
++++ return 0 | |
+++ hook_script=/tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
+++ virtualenvwrapper_cd /home/sergio/.virtualenvs | |
+++ '[' -n /bin/bash ']' | |
+++ builtin cd /home/sergio/.virtualenvs | |
+++ /usr/bin/python -m virtualenvwrapper.hook_loader -v --script /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj post_rmvirtualenv tmp-190b5701ed67e156 | |
virtualenvwrapper.hook_loader Running post_rmvirtualenv hooks | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_rmvirtualenv hooks | |
virtualenvwrapper.hook_loader running user_scripts | |
virtualenvwrapper.user_scripts post_rmvirtualenv | |
virtualenvwrapper.user_scripts running ['/home/sergio/.virtualenvs/postrmvirtualenv', 'tmp-190b5701ed67e156'] | |
virtualenvwrapper.hook_loader Saving sourcable post_rmvirtualenv hooks to /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
virtualenvwrapper.hook_loader looking for virtualenvwrapper.post_rmvirtualenv_source hooks | |
+++ result=0 | |
+++ '[' 0 -eq 0 ']' | |
+++ '[' '!' -f /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj ']' | |
+++ source /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
+++ command rm -f /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
+++ rm -f /tmp/virtualenvwrapper-post_rmvirtualenv-hook-8mUQL5bnSj | |
+++ return 0 | |
+++ '[' -d /home/sergio/.virtualenvs/tmp-190b5701ed67e156 ']' | |
++ '[' -f /home/sergio/.virtualenvs/postdeactivate ']' | |
++ source /home/sergio/.virtualenvs/postdeactivate | |
++ unset VIRTUALENVWRAPPER_LAST_VIRTUAL_ENV | |
+ command rm -f /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
+ rm -f /tmp/virtualenvwrapper-post_deactivate-hook-YywtDgoTRB | |
+ return 0 | |
+ '[' '!' '' = nondestructive ']' | |
+ unset -f virtualenv_deactivate | |
+ unset -f deactivate | |
+ set +x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment