Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 481 Bytes

HOWTO-pkg-devel.md

File metadata and controls

21 lines (16 loc) · 481 Bytes

How to set package developer mode (also call editable mode on pip)

After set this, we can directly test effect of editing a package files without need to fully reinstall it.

Turn on develop mode (add current package files to python path) in a virtual env:

python -m venv venv && source venv/bin/activate
pip install --editable .

Turn off:

pip uninstall pyModbusTCP

View the current python path:

python -c 'import sys; print(sys.path)'