makefile for macosx
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@39 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
74656a4f9c
commit
a28e52b1bc
@ -32,3 +32,5 @@
|
||||
0.6
|
||||
- Fixes to run on Mac OsX
|
||||
- Added Makefile
|
||||
- Able to create .app MacOsX files using "make app"
|
||||
- Able to create tar.gz file containing Mac OsX application and samples using "make mac"
|
@ -23,14 +23,25 @@ from PyQt4 import QtCore, QtGui
|
||||
import parser
|
||||
import relation
|
||||
import maingui
|
||||
import signal
|
||||
|
||||
version="0.6"
|
||||
|
||||
def term(signal,frame):
|
||||
print "Interrupt----\n"
|
||||
#sys.exit(0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
signal.signal(signal.SIGTERM,term)
|
||||
signal.signal(signal.SIGINT,term)
|
||||
app = QtGui.QApplication(sys.argv)
|
||||
Form = QtGui.QWidget()
|
||||
|
||||
ui = maingui.Ui_Form()
|
||||
ui.setupUi(Form)
|
||||
Form.show()
|
||||
|
||||
sys.exit(app.exec_())
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user