In QGIS 3 on Win10 we use a startup.py
script for setting up e.g. database connections and a couple of other things, residing in C:\Users\me\AppData\Roaming\QGIS\QGIS3
What we are after is to centrally deploy the startup.py
without having to distribute it to each of our clients at every script change.
First try was to make use of the PYQGIS_STARTUP
environment variable, but this fails, because startup.py
makes use of qgis.*
modules which are of course not available before QGIS initialization is complete.
How can we centrally deploy our startup.py
in order to apply changes on every client without having to distribute it?