diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2019-11-28 20:08:44 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-11-28 20:08:44 +0100 |
commit | 62a4b7443fab7ea5d9deaa11b8ea06f0bdb26069 (patch) | |
tree | 2d13206a7429534ba6a9270fdb0c8f7db8973712 /CHANGELOG.rst | |
parent | 796197db2d135fe3342e4355aeb57a74dfa6beca (diff) | |
download | searxng-62a4b7443fab7ea5d9deaa11b8ea06f0bdb26069.tar.gz searxng-62a4b7443fab7ea5d9deaa11b8ea06f0bdb26069.zip |
boilerplate: add .dir-locals.el with emacs python enviroment
The .dir-locals.el set the project's python enviroment for the emacs tasks like
flycheck or jedi. The py-environment has to be next to <repo>/.dir-locals.el::
./local/py3
To setup such an environment build target 'pyenv' or 'pyenvinstall'::
$ make pyenvinstall
TL;DR
Alternatively create the virtualenv, source it and install jedi + epc
(required by `emacs-jedi <https://tkf.github.io/emacs-jedi>`_)::
$ virtualenv --python=python3 "--no-site-packages" ./local/py3
...
$ source ./local/py3/bin/activate
(py3)$ # now install into the activated 'py3' environment ..
(py3)$ pip install jedi epc
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'CHANGELOG.rst')
0 files changed, 0 insertions, 0 deletions