How to include other libraries in plugin
Posted: Tue Oct 11, 2011 3:14 am
Hi all,
I might be missing something really basic here, but how do include other python libraries in my plugin?
I created a sub folder in my plugin directory and put the .py files there, but EG locks up on starting.
Looks like it's going through compiling the library py files, but getting stuck.
It creates a pyc file for the first file in the folder and then stops. If i delete that file, re-open EG, it creates a pyc for the next file and stops.
Is there anything in particular that is not allowed in these libraries that could be causing the problem?
I might be missing something really basic here, but how do include other python libraries in my plugin?
I created a sub folder in my plugin directory and put the .py files there, but EG locks up on starting.
Looks like it's going through compiling the library py files, but getting stuck.
It creates a pyc file for the first file in the folder and then stops. If i delete that file, re-open EG, it creates a pyc for the next file and stops.
Is there anything in particular that is not allowed in these libraries that could be causing the problem?