diff --git a/home/.bashrc b/home/.bashrc index 4dd8e85..80ed219 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -177,10 +177,17 @@ if ! shopt -oq posix; then fi fi -# 14/01/2022 : graffy added virtualenvwrapper environment as suggested by https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/development_environment -export WORKON_HOME=$HOME/.virtualenvs -export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 -export VIRTUALENVWRAPPER_VIRTUALENV_ARGS=' -p /usr/bin/python3 ' -export PROJECT_HOME=$HOME/work/venvwrapperprojects -source /usr/local/bin/virtualenvwrapper.sh +if false # was used for django, disabled because graffy doesn't use it anymore +then + # 14/01/2022 : graffy added virtualenvwrapper environment as suggested by https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/development_environment + # virtualenvwrapper is a utility that eases the use of python virtual environments: + # - Centralized Management: Stores all virtual environments in one directory (e.g., ~/.virtualenvs). + # - Easier Navigation: Provides commands like workon, mkvirtualenv, and rmvirtualenv to quickly switch, create, or delete environments. + # - Project Association: Allows you to associate a virtual environment with a specific project directory, so the environment is automatically activated when you cd into the project. + export WORKON_HOME=$HOME/.virtualenvs + export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 + export VIRTUALENVWRAPPER_VIRTUALENV_ARGS=' -p /usr/bin/python3 ' + export PROJECT_HOME=$HOME/work/venvwrapperprojects + source /usr/local/bin/virtualenvwrapper.sh +fi