This plugin is an editor for MI-based data, it provides a direct view into what currently resides in the MI Database and thus lets you modify and extend it with ease.
Find your QGIS shell environment .bat
like this C:\Program Files\QGIS 3.44.0\OSGeo4W.bat
execute with "Run as administrator"
cd to the root of this repository and run
python dev_install_plugin.py
and you are good to go.
Now just open QGIS and get cracking.
Using the interpreter of choice, execute
python dev_install_dependencies.py
- Build mi_companion_bundle and install. Run
bundle_packaging.py
to build the mi_companion_bundle. Rundev_install_plugin.py
to install the plugin. - Open QGIS and open the Python console. Run
import sys
sys.executable
sys.path
- Create a new virtual environment interpreter in Pycharm using the path output from
sys.executable
as your base interpreter. If you're on MacOS you might get the path to the QGIS executable instead, then insert the path to your system interpreter as your base interpreter. - Click the interpreter paths button when highlighting your newly create interpreter.
- Add all the different paths in the output from
sys.path
to your interpreter. There can be duplicates in the output, but you only have to add the once. - Now you should be able to run the code and tests!