--- nfo/projects/netfraggle/bin/fraggleMain.py 2004/08/26 15:19:26 1.4 +++ nfo/projects/netfraggle/bin/fraggleMain.py 2004/08/27 03:22:30 1.5 @@ -1,16 +1,21 @@ #!/usr/bin/env python #Boa:App:BoaApp -# $Id: fraggleMain.py,v 1.4 2004/08/26 15:19:26 joko Exp $ +# $Id: fraggleMain.py,v 1.5 2004/08/27 03:22:30 joko Exp $ # $Log: fraggleMain.py,v $ +# Revision 1.5 2004/08/27 03:22:30 joko +# start singleton instance of FraggleEngine here +# # Revision 1.4 2004/08/26 15:19:26 joko # get rid of urlOpener here # added key shortcuts to menu-items # -import os +import sys, os from wxPython.wx import * +from fraggleConstants import * +from fraggleEngine import * from fraggleViewport import * modules ={'fraggleDialogPrefs': [0, '', 'fraggleDialogPrefs.py'], @@ -49,6 +54,9 @@ EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU2ABOUT, self.OnMenu2items1Menu) def main(): + sys.path.append(os.path.join(APPLOCATION, '..', 'libs')) + global engine + engine = FraggleEngine() application = BoaApp(0) application.MainLoop()