From 2af4c73f0f49ff0c262f65ca0d9a93905181e574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 29 Sep 2016 02:35:59 +0200 Subject: Properly import python_tqt module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit a7b3f0dc2315c54f38220595472ccbc79d5f317c) --- userconfig/userconfig.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'userconfig/userconfig.py') diff --git a/userconfig/userconfig.py b/userconfig/userconfig.py index 3671acc..693d7ce 100755 --- a/userconfig/userconfig.py +++ b/userconfig/userconfig.py @@ -18,19 +18,7 @@ import sys 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 * -- cgit v1.2.1