diff python/apps/ide.py @ 65:361f7d13adea

Fixes after movage
author windel
date Sun, 07 Oct 2012 17:21:08 +0200
parents 4a27c28c7d0f
children bcd55a341512
line wrap: on
line diff
--- a/python/apps/ide.py	Sun Oct 07 17:13:47 2012 +0200
+++ b/python/apps/ide.py	Sun Oct 07 17:21:08 2012 +0200
@@ -1,16 +1,14 @@
-import sys
+import sys, os
+sys.path.insert(0, os.path.join('..','libs'))
 
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
-# ide components:
-from .codeeditor import CodeEdit
-from .astviewer import AstViewer
 import base64
-import os.path
 
 # Compiler imports:
 from project import Project
-from compiler.compiler import Compiler
+from compiler import Compiler
+from widgets import CodeEdit, AstViewer
 
 lcfospng = base64.decodestring(b'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A\n/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJEhMKBk7B678AAAA/SURBVFjD\n7dbBCQAgDATBi9h/y7EFA4Kf2QLCwH1S6XQu6sqoujublc8BAAAAAAAAAAB8B+zXT6YJAAAAAKYd\nWSgFQNUyijIAAAAASUVORK5CYII=\n')