dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

BUG,UBY: venv: deactivate resets WORKON_HOME to the default

Open westurner opened this issue 10 years ago • 0 comments

venv is setting WORKON_HOME to the default set in venv.py.

Instead:

  • venv could set WORKON_HOME to os.environ.get('WORKON_HOME', opts.WORKON_HOME if opts.WORKON_HOME else default_workon_home) when: WORKON)

cases:

  • using venv.py for a prefix template
  • using venv.py for a virtualenv
  • using venv.py for a conda env
  • using venv.py with -E/--from-environ

westurner avatar Aug 05 '15 20:08 westurner