Skip to content

Installing plugins with pip on modern Python #1582

@progval

Description

@progval

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:

  1. create a virtualenv with --system-site-packages (so the system's Limnoria can be found), install plugins, then restart Limnoria in that venv
  2. configure $PYTHONPATH to </path/to/venv>/lib/python3.XX/site-packages

Option 1 is inconvenient, option 2 will break on the next Python update.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions