diff options
author | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-06-13 18:36:29 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-06-13 18:36:29 +0200 |
commit | 1d425b3cd68d89b61696452c90275b4c167e4e00 (patch) | |
tree | aba1c548c64ebb24a8dd67b94f66a9d191ee1c12 /kcc.py | |
parent | Back to lowercase (diff) | |
download | kcc-1d425b3cd68d89b61696452c90275b4c167e4e00.tar.gz kcc-1d425b3cd68d89b61696452c90275b4c167e4e00.tar.bz2 kcc-1d425b3cd68d89b61696452c90275b4c167e4e00.zip |
Added OSX GUI
Diffstat (limited to 'kcc.py')
-rw-r--r-- | kcc.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kcc.py b/kcc.py index 4c26e6e..794fff4 100644 --- a/kcc.py +++ b/kcc.py @@ -25,12 +25,16 @@ __docformat__ = 'restructuredtext en' import sys import os from PyQt4 import QtGui -from kcc import KCC_gui, KCC_ui +from kcc import KCC_gui from multiprocessing import freeze_support -freeze_support() if sys.platform == 'darwin': os.environ['PATH'] = '/usr/local/bin:' + os.environ['PATH'] + from kcc import KCC_ui_osx as KCC_ui +else: + from kcc import KCC_ui + +freeze_support() app = QtGui.QApplication(sys.argv) KCC = QtGui.QMainWindow() ui = KCC_ui.Ui_KCC() |