# HG changeset patch # User windel # Date 1349623268 -7200 # Node ID 361f7d13adea91b78818f341d36e68779eef0c29 # Parent 4a27c28c7d0f4be36b6e80609a5e9d3420f7991d Fixes after movage diff -r 4a27c28c7d0f -r 361f7d13adea python/apps/build.py --- a/python/apps/build.py Sun Oct 07 17:13:47 2012 +0200 +++ b/python/apps/build.py Sun Oct 07 17:21:08 2012 +0200 @@ -1,9 +1,8 @@ import sys, os - sys.path.insert(0, os.path.join('..','libs')) -print(sys.path) + # Compiler imports: -from compiler.compiler import Compiler +from compiler import Compiler from project import Project if __name__ == '__main__': diff -r 4a27c28c7d0f -r 361f7d13adea python/apps/ide.py --- 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') diff -r 4a27c28c7d0f -r 361f7d13adea python/apps/ide/ide.py --- a/python/apps/ide/ide.py Sun Oct 07 17:13:47 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ - diff -r 4a27c28c7d0f -r 361f7d13adea python/libs/compiler/__init__.py --- a/python/libs/compiler/__init__.py Sun Oct 07 17:13:47 2012 +0200 +++ b/python/libs/compiler/__init__.py Sun Oct 07 17:21:08 2012 +0200 @@ -1,2 +1,4 @@ # File to make this directory a package. +from .compiler import Compiler +