Awhile back one of the usual suspects suggested I take a look at Stani's IDE. The blog mentioned that it could run from blender, using wxPython.
This morning I realized what that meant: Blender doesn't use wxPython, does it? So Stani must have installed both wxPython and the IDE. So just now I got around to trying to make *Leo* run from Blender. I copied the following to Blender's site-packages folder: - The PyQt4 folder and sip.pyd from Python 3.2\lib\site-packages - The leo folder from the trunk. I created a sitecustomize.py file in Blender's lib folder. This file contains the following: sys.path.append(r'C:\apps\Blender\2.59\python\lib\site-packages') I then started blender from a Windows console. >From the blender console, I did the following: import sitecustomize # Blender apparently does not load this automatically. import leo leo.run() Leo starts up! sys.path contains the expected directories, and I can import bpy(!!) Not everything is perfect: - Blender hangs while Leo is running. - stdout seems to be missing. print does nothing. But g.es works. - Leo's icons are not being shown, which is kinda weird. So now I am wondering, could Leo still import bpy if somehow Leo were run in a separate process? I doubt it: that's sorta the point of having separate processes. Does anyone have suggestions about how to go forward from here? Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
