]> git.eshelyaron.com Git - emacs.git/commit
Support python virtualenv on w32 (Bug#24464)
authorJustin Timmons <justinmtimmons@gmail.com>
Mon, 12 Dec 2016 00:39:56 +0000 (19:39 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 5 Nov 2017 16:39:06 +0000 (11:39 -0500)
commit18af404ef33d8efcbb9446945e543251ab33aa3c
tree71ffa4cf790e39340e11e7b250a2be2077660438
parentefd0371c23c5dd04d73980b42d7cf64bbceccb9a
Support python virtualenv on w32 (Bug#24464)

According to the virtualenv docs only POSIX systems follow the
structure "/path/to/venv/bin/", while windows systems use
"/path/to/venv/Scripts" for the location of the binary files, most
importantly including the python interpreter (see:
https://virtualenv.pypa.io/en/stable/userguide/#windows-notes).
* lisp/progmodes/python.el (python-shell-calculate-exec-path): Use the
"/path/to/venv/Scripts" for `windows-nt' machines.

Copyright-paperwork-exempt: yes
lisp/progmodes/python.el