ENV: suppression des warnings pour Python et Flask
This commit is contained in:
parent
15bc87c142
commit
254b5c39db
10
.zshrc
10
.zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user