From 863e08606b3b1441a26b6e7ef7b1004b202281b3 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Wed, 17 Jun 2026 16:35:49 +0200 Subject: [PATCH] disabled virtualenvwrapper from bashrc - because it requires the virtualenvwrapper utility /usr/local/bin/virtualenvwrapper.sh, which I don't really use (I installed it when I worked with django) so I didn't install it fixes [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=4405] --- home/.bashrc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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