diff python/ide/ide.py @ 292:534b94b40aa8

Fixup reorganize
author Windel Bouwman
date Wed, 27 Nov 2013 08:06:42 +0100
parents 7b38782ed496
children 917eab04b8b7
line wrap: on
line diff
--- a/python/ide/ide.py	Sun Nov 24 11:24:15 2013 +0100
+++ b/python/ide/ide.py	Wed Nov 27 08:06:42 2013 +0100
@@ -10,11 +10,15 @@
 from PyQt4.QtGui import *
 
 # Compiler imports:
+p = os.path.join(os.path.dirname(__file__), '..')
+# print(p)
+sys.path.insert(0, p)
+sys.path.insert(0, os.path.join(p, 'utils'))
 import ppci
 from astviewer import AstViewer
 from codeedit import CodeEdit
 from logview import LogView as BuildOutput
-from disasm import Disassembly
+#from disasm import Disassembly
 stutil = __import__('st-util')
 import c3
 import zcc