Merge pull request #5 from Leonidas-from-XIV/python-package

Python package
This commit is contained in:
Alex Yatskov 2011-10-29 06:35:29 -07:00
commit 8bae09fee2
14 changed files with 18 additions and 18 deletions

17
Makefile Normal file
View File

@ -0,0 +1,17 @@
all: \
mangle/ui/resources_rc.py \
mangle/ui/about_ui.py \
mangle/ui/options_ui.py \
mangle/ui/book_ui.py
mangle/ui/resources_rc.py: dev/res/resources.qrc
pyrcc4 $< -o $@
mangle/ui/about_ui.py: dev/ui/about.ui
pyuic4 $< -o $@
mangle/ui/options_ui.py: dev/ui/options.ui
pyuic4 $< -o $@
mangle/ui/book_ui.py: dev/ui/book.ui
pyuic4 $< -o $@

View File

@ -1,17 +0,0 @@
all: \
ui/resources_rc.py \
ui/about_ui.py \
ui/options_ui.py \
ui/book_ui.py
ui/resources_rc.py: dev/res/resources.qrc
pyrcc4 $< -o $@
ui/about_ui.py: dev/ui/about.ui
pyuic4 $< -o $@
ui/options_ui.py: dev/ui/options.ui
pyuic4 $< -o $@
ui/book_ui.py: dev/ui/book.ui
pyuic4 $< -o $@

View File

@ -19,7 +19,7 @@
import sys import sys
from PyQt4 import QtGui from PyQt4 import QtGui
from book import MainWindowBook from mangle.book import MainWindowBook
application = QtGui.QApplication(sys.argv) application = QtGui.QApplication(sys.argv)

0
mangle/ui/__init__.py Normal file
View File