def generateIcons(): svgIcons('shareCore/media/svgIcons/*.svg', 'build/media/share/map/') if BUILDING_FOR_GEOCAM: svgIcons('shareGeocam/media/svgIcons/*.svg', 'build/media/share/map/') rotGlob = 'build/media/share/map/*Point.png' rotOutput = 'build/media/share/mapr' print 'rotateIcons %s %s' % (rotGlob, rotOutput) for imPath in glob(rotGlob): rotate.buildAllDirections(builderG, imPath, outputDir=rotOutput)
def rotateIcons(self): rotGlob = 'build/media/share/map/*Point.png' rotOutput = 'build/media/share/mapr' print 'rotateIcons %s %s' % (rotGlob, rotOutput) for imPath in glob(rotGlob): rotate.buildAllDirections(self.builder, imPath, outputDir=rotOutput)