Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 438 Bytes

HOWTO-pkg-devel.md

File metadata and controls

20 lines (15 loc) · 438 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):

sudo python3 setup.py develop

Turn off:

sudo python3 setup.py develop --uninstall

View the current python path:

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