It looks as though previously it was possible to activate a virtual environment within a script using...
activate_this_file = "/path/to/virtualenv/bin/activate_this.py"
execfile(activate_this_file, dict(__file__=activate_this_file))
Then activate_this.py
was removed. For a while people were using old versions of activate_this.py
. Is this still possible or has this function been removed?