To install a package while developing, use the -e flag:
-e
pip install -e .
This will install the package in editable mode, meaning that changes to the source code will be reflected in the installed package.