Ticket #28956: patch-setup.py.diff

File patch-setup.py.diff, 603 bytes (added by guidolorenz@…, 13 years ago)
  • setup.py

    old new  
    146146        import PyQt4
    147147        path = os.getenv('PATH')
    148148        os.putenv('PATH', path + ';' + os.path.dirname(PyQt4.__file__) + '\\bin')
    149         if os.system('pyrcc4 "%s" -o "%s"' % (qrc_file, py_file)) > 0:
     149        if os.system('pyrcc4-2.6 "%s" -o "%s"' % (qrc_file, py_file)) > 0:
    150150            self.warn("Unable to generate python module %s for resource file %s"
    151151                      % (py_file, qrc_file))
    152152            if not exists(py_file) or not file(py_file).read():