]> code.delx.au - gnu-emacs/commit
Implemented simple virtualenv setup via python-shell-virtualenv-path variable.
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:21 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:21 +0000 (00:03 -0300)
commit64348c3241dfbf2c6d29e1a3533ec3543c33c780
tree5b9098c1d5294147699496da5a83d054e4c15faa
parent1fe1b5aa848d02ac3b1706ab3c332b8578567c54
Implemented simple virtualenv setup via python-shell-virtualenv-path variable.

when set to a string, makes the values stored in
`python-shell-process-environment' and `python-shell-exec-path' to be
modified properly so shells are started with the specified virtualenv.

New Variables:
    * python-shell-virtualenv-path

New functions:
    * python-shell-calculate-process-environment
    * python-shell-calculate-exec-path
lisp/progmodes/python.el