source: tags/synapse/release-0.4.0/synapse-gui.py @ 194

Last change on this file since 194 was 163, checked in by sc, 11 years ago
  • Merge of code from repackaging by John Schutte <g.john.schutte@…>
  • Property svn:executable set to *
File size: 599 bytes
Line 
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3
4# Copyright Puzzlebox Productions, LLC (2010)
5#
6# This code is released under the GNU Pulic License (GPL) version 2
7# For more information please refer to http://www.gnu.org/copyleft/gpl.html
8
9import Puzzlebox.Synapse.Interface as tgInterface
10import sys
11
12try:
13        import PySide as PyQt4
14        from PySide import QtCore, QtGui
15except:
16        print "Using PyQt4 module"
17        from PyQt4 import QtCore, QtGui
18else:
19        print "Using PySide module"
20
21DEBUG = 1
22log = None
23app = QtGui.QApplication(sys.argv)
24window = tgInterface.QtUI(log, DEBUG)
25window.show()
26sys.exit(app.exec_())
Note: See TracBrowser for help on using the repository browser.