Ticket #28956: patch-setup.py.diff
File patch-setup.py.diff, 603 bytes (added by guidolorenz@…, 14 years ago) |
---|
-
setup.py
old new 146 146 import PyQt4 147 147 path = os.getenv('PATH') 148 148 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: 150 150 self.warn("Unable to generate python module %s for resource file %s" 151 151 % (py_file, qrc_file)) 152 152 if not exists(py_file) or not file(py_file).read():