3liz / qgis-plugin-manager

CLI tools for installing QGIS Plugins
GNU General Public License v3.0
13 stars 2 forks source link

Use pyQgis to check Qgis version #6

Closed dmarteau closed 3 years ago

dmarteau commented 3 years ago

Qgis python packages are installed in standard location: it possible to import qgis like any installed python packages`.

From this, it is straightforward to check the Installed Qgis (server) version with Qgis.QGIS_VERSION.