summaryrefslogtreecommitdiff
path: root/guides/python.org
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2025-01-14 22:48:35 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2025-01-14 23:26:44 +0100
commitcf8a3f15ee1c80b874be10cbdd34496b84560f59 (patch)
treec7a77d6938c6d8d539a6ae1e72160732d440ccf5 /guides/python.org
parentfaf50994d58d2651a2ab1bb1ed94dce1feb246bd (diff)
downloadmemory-leaks-cf8a3f15ee1c80b874be10cbdd34496b84560f59.tar.xz
Sort guides up a bit
Diffstat (limited to 'guides/python.org')
-rw-r--r--guides/python.org40
1 files changed, 0 insertions, 40 deletions
diff --git a/guides/python.org b/guides/python.org
deleted file mode 100644
index 3c11b13..0000000
--- a/guides/python.org
+++ /dev/null
@@ -1,40 +0,0 @@
-* IDE setup
-#+begin_src sh
-pip install --user 'python-lsp-server[all]'
-pip install --user pylsp-mypy
-#+end_src
-
-This seems to be enough for Eglot to turn Emacs into a Python IDE.
-This recipe will probably break once PEP 668 hits my distros; I guess
-I'll switch to pipx at that stage?
-
-Tried to get the LSP server packaged by my distro, but openSUSE
-Tumbleweed at least does not make it easy:
-
-- Python packages are explicitly named =python3$y-…=, so asking zypper
- install those means setting myself up for suffering when Tumbleweed
- moves to version =$((++y))= and I need to chase down everything I've
- manually installed to (a) install the newer versions (b) clean up
- every remnant of the previous versions & the corresponding Python
- runtime.
-
-- I have no idea how to cajole zypper into installing those
- "suggested" dependencies; =--recommended= does not cut it,
- =--suggested= does not exist.
-
- #+begin_src
- $ sudo zypper install python310-python-lsp-server
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 10 packages are suggested, but will not be installed:
- python310-autopep8 python310-flake8 python310-mccabe python310-pycodestyle python310-pydocstyle
- python310-pyflakes python310-pylint python310-rope python310-whatthepatch python310-yapf
-
- The following 4 NEW packages are going to be installed:
- python310-docstring-to-markdown python310-python-lsp-jsonrpc python310-python-lsp-server python310-ujson
-
- 4 new packages to install.
- #+end_src
-