How to include other libraries in plugin

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
TheOgre
Posts: 7
Joined: Thu Oct 06, 2011 1:52 am

How to include other libraries in plugin

Post by TheOgre » 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?

cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: How to include other libraries in plugin

Post by cfull1 » Wed Oct 12, 2011 1:21 pm


Post Reply