pip install -e . is a great feature. It allows you to work on your package without having to uninstall-reinstall constantly. It seemingly doesn't, however, keep track of your build files (e.g. your setup.cfg or setup.py). Say, you change these (e.g. add, subtract, change version for dependencies, or change which modules you include in the package). What is then the best way to have pip recheck these requirements?
Or more generally, what is the way you're supposed to handle changes in your setup.cfg or setup.py when using pip install -e .?
What I usually end up doing is just doing pip install -e . in the root directory. This walks through your entire setup configuration again, install any new or changed dependencies and then uninstalls your package before reinstalling it again. Which definitely isn't always necessary, and does slow things down a lot.
While this certainly works, it feels against the idea of the 'editable' package.
Is there a proper way of doing this?
FYI, I know you can just install dependencies that aren't listed in your setup.cfg yourself by just pip install ..., my question is aimed at learning a better way of doing things.