I've made my first plugin using plugin builder and I want to compile it. I read that I need two commands to do it under windows:
pyrcc4. But when I use any of these commands I get this:
D:\Programy\QGis\bin>pyuic4 -o C:\Users\noaal\.qgis2\python\plugins\Test\Test.py C:\Users\noaal\.qgis2\python\plugins\Test\Test_dialog_base.ui ImportError: No module named site
I also read that I must change system path in windows, but I don't know to which location. So anyone have any clue?
One method to compile custom-made plugins is to run the cmd prompt or the OSGeo4W shell via:
Start > QGIS folder > _OSGeo4W
cd, enter the directory of your plugin to make that the current directory and then type
make. This should compile your plugin.
The marked answer from 'Joseph' is either not complete or obsolete.
With OSGeo4W QGIS version 3.6.3: The 'make' executable is not available in OSGeo4W.
Installing gmake doesn't help because the Makefile emits a message about using 'pb_tool' instead and fails to build the project.