From e65b341abe1943ec377852becfdb2a1f2020a34e Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 6 May 2024 21:57:06 -0400 Subject: [PATCH] ENH disable pyenv --- etc/conf.org | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/etc/conf.org b/etc/conf.org index ab32308..d14b720 100644 --- a/etc/conf.org +++ b/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). #+BEGIN_SRC emacs-lisp -(nd/require-bin "pyenv") - -(nd/when-bin "pyenv" - (use-package pyenv-mode - :straight t - :after python - :hook ((python-mode . pyenv-mode)) - :init (-some--> (getenv "PYENV_ROOT") - (f-join it "versions") - (add-to-list 'exec-path it))) - - ;; resolve symlinks when setting the pyenv, otherwise we get some - ;; strange errors when activating a symlinked env - (advice-add #'pyenv-mode-full-path :filter-return #'file-truename)) +;;(nd/require-bin "pyenv") +;; +;;(nd/when-bin "pyenv" +;; (use-package pyenv-mode +;; :straight t +;; :after python +;; :hook ((python-mode . pyenv-mode)) +;; :init (-some--> (getenv "PYENV_ROOT") +;; (f-join it "versions") +;; (add-to-list 'exec-path it))) +;; +;; ;; resolve symlinks when setting the pyenv, otherwise we get some +;; ;; strange errors when activating a symlinked env +;; (advice-add #'pyenv-mode-full-path :filter-return #'file-truename)) #+END_SRC *** Snakemake #+begin_src emacs-lisp @@ -4350,7 +4350,7 @@ The only thing I like about elpy is the interactive shell This key collides with plenty of other stuff, notably scheduling in org mode #+BEGIN_SRC emacs-lisp ;;(nd/when-bin "pyenv" -;; (define-key pyenv-mode-map (kbd "C-c C-s") nil)) +;; (define-key pyenv-mode-map (kbd "C-c C-s") nil)) #+END_SRC *** counsel #+begin_src emacs-lisp