How can the QGIS python plugin environment be directed to use a local git repo for a specific dependency rather than its default site-packages cache?
Context:
I’m working on two local git repos in QGIS python environment: 1) a custom plugin, and 2) a custom module the plugin imports.
Changes to the plugin code are recognized by reloading the plugin via QGIS. However, changes to the module aren’t being recognized by the plugin, and it’s not clear how to instruct QGIS (or conda) where to look.
I’m running Windows 11, Python miniconda3.
Two solutions discovered to date:
Both of these solutions seem to work well enough, but it’s clear from other SO posts that the first is suboptimal. Not clear whether the second is truly best practice, or whether a third alternative would be.