Interview Prep/Python for DevOps/Environments, dependencies & packaging

What is an editable install (`pip install -e .`)?

BeginnerConceptEnvironments, dependencies & packaging
Answer

It installs a package that points at your source tree instead of copying files, so code changes take effect without reinstalling. pip install -e ".[dev]" also installs the dev extras (pytest, moto, ruff). It is for local development and CI tests, not for production images, where you install the built wheel.

All Python for DevOps questions Roadmap: Python for automation

More on Environments, dependencies & packaging