TIL: Editable Package Installation

, Jochen

Usually, I use pip -e ../package-directory to install an editable version of a package I use in a different project. Usually I use this method to track a bug or develop a new feature. Some time ago I switched to using flit to build my packages because it supports putting all the configuration in pyproject.toml and is not poetry. Today I had to learn that for a django-packages built with flit but then installed with pip -e the Django template lookup is broken. Using flit install -s works fine though.

Return to blog