News for hackers. Stuff that matters.
Re:Your Bash Prompt Needs This by kibibyte on Friday April 27, 2012 @04:30PM (#3900904)
This has a side-effect that I don't like. Python's virtualenv, once activated, places the string '(venv)' (assuming you named it 'venv') immediately before your prompt to let you know that it is active in this terminal. However, this export hides this modification, and it makes it difficult for me tell whether the venv is active or not.
Re:Your Bash Prompt Needs This by mgedmin on Saturday April 28, 2012 @10:49AM (#3903071)
Personally I do not use virtualenv activation. Instead I prefer to explicitly launch Python and/or scripts with bin/python, bin/scriptname etc., either with my current working directory in the virtualenv, or by creating a symlink ./bin -> .virtualenv/bin in the project root.