diff python/ide.py @ 98:3f772feb12ef

movage
author windel
date Mon, 24 Dec 2012 13:57:00 +0100
parents 4a37d6992bd3
children 6efbeb903777
line wrap: on
line diff
--- a/python/ide.py	Mon Dec 24 13:32:54 2012 +0100
+++ b/python/ide.py	Mon Dec 24 13:57:00 2012 +0100
@@ -7,9 +7,9 @@
 from PyQt4.QtGui import *
 
 # Compiler imports:
-sys.path.insert(0, os.path.join('..','libs'))
+sys.path.insert(0, '.') # Add current path to the path string
 from project import Project
-from compiler import Compiler
+from ppci import Compiler
 from widgets import CodeEdit, AstViewer
 
 lcfospng = base64.decodestring(b'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A\n/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJEhMKBk7B678AAAA/SURBVFjD\n7dbBCQAgDATBi9h/y7EFA4Kf2QLCwH1S6XQu6sqoujublc8BAAAAAAAAAAB8B+zXT6YJAAAAAKYd\nWSgFQNUyijIAAAAASUVORK5CYII=\n')