[PyQt] pyqtdelpoy and .so files

Robert Kent rob at gulon.co.uk
Mon Sep 28 10:34:29 BST 2015


Hi Phil,

Thats what I thought. The issue is that numpy does a relative import of the .so files so I’m not sure how that works wrt hierarchy if the Python file is compiled in as part of a resource and the .so is ‘external’.

I’ll have a play and see what I can come up with.

Thanks, Rob

> On 28 Sep 2015, at 10:23, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
> On 28 Sep 2015, at 9:30 am, Robert Kent <rob at gulon.co.uk> wrote:
>> 
>> Hi All,
>> 
>> Just wondering if its possible to add python modules that have been generated from C/C++ into a pyqtdeplot project. For example, I would like to include numpy in my project and its contains a number of .so files (numpy.core.multiarray for example) that can be directly imported like pure python modules. I’ve tried including this through via the ‘Other Packages’ tab in the pyqtdeploy guy and, whilst it ends up in the resource file, it seems unimportable. Is this possible and if so: how?
> 
> You can't make them part of the application but you can distribute them with the application. pyqtdeploy helps create an application - it doesn't have anything to do with creating a distributable package.
> 
> Phil



More information about the PyQt mailing list