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