pip install -e .
I’ve wasted a lot of time running python setup.py install before testing my changes to flask-admin. It turns out you can pip install a project as “editable”, which points the install toward your local directory instead of copying where the rest of your python modules are.
To install a project as editable, navigate to the repo and run pip install -e ..
https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs