... virtualenv.

If you're doing more than one project on your machine then you need to concern yourself with dependencies across projects. In python the old-school way of doing this is to use virtualenv and pip. These tools get the job done, but they may have some caveats you should be aware of.


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 getting the newsletter.