How to install a package using pip in editable mode with pyproject.toml?

PEP 660 – Editable installs for pyproject.toml based builds defines how to build projects that only use pyproject.toml. Build tools must implement PEP 660 for editable installs to work. You need a front-end (such as pip ≥ 21.3) and a backend. The statuses of some popular backends are:

  • Setuptools implements PEP 660 as of version 64.
  • Flit implements PEP 660 as of version 3.4.
  • Poetry implements PEP 660 as of version 1.0.8.

Note: To be able to do an editable installation to your user site (pip install -e --user), you need a system installed setuptools v62.0.0 or newer.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)