Browse Source

Android fix

master
Raphael Roberts 6 years ago
parent
commit
cab5a8a29f
  1. 7
      settings.org

7
settings.org

@ -282,6 +282,7 @@ This handy function is a customized ripoff of custom-save-all
#+END_SRC
** Python
*** Platform specific
Set python command
#+BEGIN_SRC emacs-lisp
(setq elpy-rpc-python-command
(cond
@ -292,7 +293,6 @@ This handy function is a customized ripoff of custom-save-all
#+END_SRC
put executables in elpy-rpc-venv in path
#+BEGIN_SRC emacs-lisp
(defun rlbr/elpy-append-to-path ()
(setenv "PATH" (string-join (list (getenv "PATH")
(let ((default-directory (elpy-rpc-get-or-create-virtualenv))
@ -309,6 +309,11 @@ put executables in elpy-rpc-venv in path
elpy-binpath))
path-separator)))
#+END_SRC
#+BEGIN_SRC emacs-lisp
(unless (= 0 (call-process elpy-rpc-python-command nil nil nil "-c" "import multiprocessing;multiprocessing.Pool()"))
(setq python-check-command
(string-join `(,python-check-command "--jobs=1") " ")))
#+END_SRC
*** custom feature
#+BEGIN_SRC emacs-lisp
(defun rlbr/join-venv-with-number (number-name)

Loading…
Cancel
Save