1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

With PyQt 4.7.5's new from_imports option, sys.path hackage is not required anymore.

This commit is contained in:
Virgil Dupras
2010-08-20 09:48:16 +02:00
parent ac4881f231
commit 5733c0143b
5 changed files with 2 additions and 15 deletions

View File

@@ -15,11 +15,6 @@ from PyQt4.QtGui import QApplication, QIcon, QPixmap
import base.dg_rc
if sys.platform == 'linux2':
# Under Python3, we have to add 'base' to pythonpath because UI files don't use
# relative imports.
sys.path.append(os.path.dirname(base.dg_rc.__file__))
from app import DupeGuru
if sys.platform == 'win32':