-
Notifications
You must be signed in to change notification settings - Fork 151
Virtualenv
The virtualenv.el extension is quite useful in the standard python development process.
It is implemented in a “natural” way, it emulates the `virtual/bin/activate` script setting up the environmental variables as the original virtualenv package does. In this way you can type shell commands with the modified paths of the virtual environments.
To activate a virtualenv just type the command:
M-x virtualenv-activate
And select the virtual environment directory, it will setup the necessary environment variables.
To deactivate the virtual environment (activating another virtualenv
deactivates the current automatically):
M-x virtualenv-deactivate
To barf which virtualenv is active at the moment:
M-x virtualenv-current
You can also use a virtualenvwrapper-like activator:
M-x virtualenv-workon