improve dependency handling
- after installation of
pyqtwebengine, it is checked if it was installed to the user site (check count of directories insite.getusersitepackes())- if so, the user is asked if he wants to restart QGIS in order to be able to use the newly installed package
- on confirmation, QGIS is closed via
iface.actionExit().trigger()
- on confirmation, QGIS is closed via
- if not, the package should be readily usable
- if so, the user is asked if he wants to restart QGIS in order to be able to use the newly installed package
- if dependencies are missing or not yet available, the plugin initialization is canceled with a message to the user instead of raising exceptions
- the webapp and its dependencies are installed to
<plugin-root>/_vendorvia prefix in order to keep interference with QGIS system/user sites at a minimum
Closes #17 (closed)
Edited by Tobias Kraft