|
|
|
@ -19,19 +19,7 @@
|
|
|
|
|
import sys
|
|
|
|
|
import os
|
|
|
|
|
import os.path
|
|
|
|
|
# Trinity-specific paths
|
|
|
|
|
tqt_modules = []
|
|
|
|
|
for m_path in sys.path:
|
|
|
|
|
if os.path.exists(os.path.join(m_path, 'sip4_tqt')):
|
|
|
|
|
m_sip_dir = os.path.join(m_path, 'sip4_tqt')
|
|
|
|
|
tqt_modules.insert(0, m_sip_dir)
|
|
|
|
|
if os.path.exists(os.path.join(m_path, 'python_tqt')):
|
|
|
|
|
m_pyqt_dir = os.path.join(m_path, 'python_tqt')
|
|
|
|
|
tqt_modules.insert(0, m_pyqt_dir)
|
|
|
|
|
for m_path in tqt_modules:
|
|
|
|
|
sys.path.insert(0, m_path)
|
|
|
|
|
|
|
|
|
|
from qt import *
|
|
|
|
|
from python_tqt.qt import *
|
|
|
|
|
from tdeui import *
|
|
|
|
|
from tdecore import *
|
|
|
|
|
from tdefile import *
|
|
|
|
|