... virtualenv: source


This is the contents of the my_activate file;

export PS1="(ACTIVATED)"

deactivate() { 
    echo "pretending to deactivate"

To source it, you need to run;

source my_activate

Notice how we're doing something very simular when we start a virtual environment.

source venv/bin/activate

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider signing up for the newsletter.