Skip to content

Python FAQ

Sylwester Arabas edited this page May 9, 2023 · 5 revisions

How to trigger exceptions on each Python warning?

Use python -We wherever you'd normally use just python (similarily pytest -We).

How to install both XXX and XXX-examples locally so that each project see changes drafted in the other one?

pip install -e XXX
pip install -e XXX-examples

(the -e option is crucial as it makes pip merely link to the code directory instead of copying the files to a local package folder)

Clone this wiki locally