With Poetry
Procedure 9.3. Set up the project-specific environment
-
Create the virtual environment
poetry init poetry add --group dev lsp ruff ruff-lspAnd Makefile skeleton, and pyproject, and other dev tools?
-
Use IPython for shell stuff.
pip install ipythonNote
Never actually used this
-
Install ipdb
poetry add --group dev ipdbNote
Set this environment variable somewhere appropriate. In
~/.bashrc, probablyexport PYTHONBREAKPOINT="ipdb.set_trace"