ENH disable pyenv
This commit is contained in:
parent
6067be3d40
commit
e65b341abe
28
etc/conf.org
28
etc/conf.org
|
@ -1082,20 +1082,20 @@ For isolation I use [[https://github.com/pyenv/pyenv][pyenv]] and [[https://gith
|
||||||
|
|
||||||
Note this also requires all external packages to be installed in each environement (eg ipython, black, flake8, and pylint).
|
Note this also requires all external packages to be installed in each environement (eg ipython, black, flake8, and pylint).
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(nd/require-bin "pyenv")
|
;;(nd/require-bin "pyenv")
|
||||||
|
;;
|
||||||
(nd/when-bin "pyenv"
|
;;(nd/when-bin "pyenv"
|
||||||
(use-package pyenv-mode
|
;; (use-package pyenv-mode
|
||||||
:straight t
|
;; :straight t
|
||||||
:after python
|
;; :after python
|
||||||
:hook ((python-mode . pyenv-mode))
|
;; :hook ((python-mode . pyenv-mode))
|
||||||
:init (-some--> (getenv "PYENV_ROOT")
|
;; :init (-some--> (getenv "PYENV_ROOT")
|
||||||
(f-join it "versions")
|
;; (f-join it "versions")
|
||||||
(add-to-list 'exec-path it)))
|
;; (add-to-list 'exec-path it)))
|
||||||
|
;;
|
||||||
;; resolve symlinks when setting the pyenv, otherwise we get some
|
;; ;; resolve symlinks when setting the pyenv, otherwise we get some
|
||||||
;; strange errors when activating a symlinked env
|
;; ;; strange errors when activating a symlinked env
|
||||||
(advice-add #'pyenv-mode-full-path :filter-return #'file-truename))
|
;; (advice-add #'pyenv-mode-full-path :filter-return #'file-truename))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Snakemake
|
*** Snakemake
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue