I developed a standalone python program that makes use of QGIS API to create .qml files from sld files. This is a small program of about 15 lines of code that imports the following modules and uses few methods such as loadSldStyle
and saveNamedStyle
.
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from qgis.core import *
Is there any way to avoid the installation of all QGIS application and install just the necessary modules, if I want to run a standalone python program that makes use of a simple QGIS functionality?
It seems to be too much install an entire application just to use 2 or 3 functions...