[PyQt] pyqtdeploy: howto add egg's?

Phil Thompson phil at riverbankcomputing.com
Sun Feb 7 16:26:35 GMT 2016


On 6 Feb 2016, at 1:56 pm, Schluchti <schluchti at gmail.com> wrote:
> 
> Hi Phil,
> 
> unfourtunately, I cannot place the *.so in the same directory as the Android
> executable. At least, when I tried, it failed due to permission problems (my
> device isn't rooted). 
> 
> After some further debugging, I think that this line doesn't work:
> imp.load_dynamic(__name__,__file__)
> 
> In the Python Setup.dist I found that there are certain platforms where
> dynamic loading isn't supported. Do I need to enable this somehow when
> building the static Python? 

If you are using pyqtdeploycli to configure the Python build then look at the --enable-dynamic-loading command line option.

Phil


More information about the PyQt mailing list