Limnoria
Limnoria copied to clipboard
Installing plugins with pip on modern Python
Since version 2020.05.08, Limnoria supports installing plugin with pip
, so users don't have to deal with Git repositories and adding extra plugin directories.
We also recommend people install Limnoria with their package manager, so it is kept up to date along with the rest of the distribution.
Unfortunately, recent Python versions (eg. as shipped on Debian 12) don't allow running pip outside a virtualenv. This means that we need to document somewhere how to use a system-installed Limnoria along with local plugins. This can take two forms:
- create a virtualenv with
--system-site-packages
(so the system's Limnoria can be found), install plugins, then restart Limnoria in that venv - configure
$PYTHONPATH
to</path/to/venv>/lib/python3.XX/site-packages
Option 1 is inconvenient, option 2 will break on the next Python update.