ENV: suppression des warnings pour Python et Flask

vif
Olivier DOSSMANN 2020-01-20 14:37:19 +01:00
parent 15bc87c142
commit 254b5c39db
1 changed files with 7 additions and 3 deletions

10
.zshrc
View File

@ -83,8 +83,8 @@ export BROWSER=elinks
export SSH_ASKPASS=qt4-ssh-askpass
export AUTEUR="Olivier DOSSMANN"
export DEFAULT_USER="od"
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
export PYTHONWARNINGS="ignore::DeprecationWarning"
export FLASK_SKIP_DOTENV=1
# You may need to manually set your language environment
export LANG=fr_FR.UTF-8
@ -161,12 +161,16 @@ if [ ! $SSH_AGENT_PID ]; then
fi;
fi;
# Launch nvm possibilities (for javascript environment)
# Desktop specificities for development
case $HOST in
lueur | baloo | sam)
:
;;
*)
# nvm (for JS environment)
source /usr/share/nvm/init-nvm.sh
# Virtualenv (for Python development)
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
;;
esac