mirror of
https://github.com/wassname/sloth.git
synced 2026-06-27 18:25:49 +08:00
Make some changes for Python 3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#pyuic4 pylabel.ui > ui_pylabel.py
|
||||
pyrcc4 -o ../sloth/gui/qrc_icons.py ../sloth/gui/icons.qrc
|
||||
pyrcc4 -py3 -o ../sloth/gui/qrc_icons.py ../sloth/gui/icons.qrc
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
from labeltool import MainWindow
|
||||
from .labeltool import MainWindow
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
# Resource object code
|
||||
#
|
||||
# Created: Tue May 17 14:14:22 2011
|
||||
# by: The Resource Compiler for PyQt (Qt v4.7.1)
|
||||
# Created: Fri Jun 24 09:14:10 2011
|
||||
# by: The Resource Compiler for PyQt (Qt v4.7.2)
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt4 import QtCore
|
||||
|
||||
qt_resource_data = "\
|
||||
qt_resource_data = b"\
|
||||
\x00\x00\x02\xa3\
|
||||
\x89\
|
||||
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
|
||||
@@ -472,7 +472,7 @@ qt_resource_data = "\
|
||||
\xae\x42\x60\x82\
|
||||
"
|
||||
|
||||
qt_resource_name = "\
|
||||
qt_resource_name = b"\
|
||||
\x00\x05\
|
||||
\x00\x6f\xa6\x53\
|
||||
\x00\x69\
|
||||
@@ -528,7 +528,7 @@ qt_resource_name = "\
|
||||
\x00\x6f\x00\x6f\x00\x6d\x00\x5f\x00\x69\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\
|
||||
"
|
||||
|
||||
qt_resource_struct = "\
|
||||
qt_resource_struct = b"\
|
||||
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
|
||||
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x02\
|
||||
\x00\x00\x01\x5c\x00\x00\x00\x00\x00\x01\x00\x00\x15\xc3\
|
||||
|
||||
Reference in New Issue
Block a user