Hello,
I'm distributing a fairly complex PyQt based application as a
single .exe made by PyInstaller on Windows.
For some advanced users, I want to allow adding their own modules in a
special "plugins" directory. These modules can enhance the way the
application works in completely user-defined ways. However, there's a
slight problem with this approach:
My application has to expose an API to these plugin modules. I'm not
sure how the users should write the 'import' statements to make it
work. After all, all there is for a user is a big .exe, and his
module. Where will the module import the API code? Relatively?
How can this be made to work? How should the user's imports be
structured, or is there something special I have to tell PyInstaller
when creating the .exe?
Thanks in advance
Eli