[PyQt] [pyqtdeploy] Add support for loading C-extension modules
Ilya Kulakov
kulakov.ilya at gmail.com
Sat Nov 8 00:14:35 GMT 2014
>
> On 7 нояб. 2014 г., at 16:12, Phil Thompson <phil at riverbankcomputing.com> wrote:
>
> On 07/11/2014 6:00 pm, Ilya Kulakov wrote:
>> 1. How can one set location that is unknown until application is started?
>
> If you specify a relative directory on sys.path it will be resolved relative to the directory containing the application.
>
What is considered as an application directory under each platform?
>> 2. You do not need to duplicate file structure so standard python
>> importing can find the packages. Also it follows cx_freeze
>> conventions.
>
> Sorry I don't understand.
>
For python to find a C-extension module zmq.backend.cython._poll one have to add a path to a directory
which contains package zmq that contains subpackage backend that contains subpackage cython that contains file _poll.so.
This is extremely inconvenient for binary distributions to have such pointless deep folders.
Best Regards,
Ilya Kulakov
More information about the PyQt
mailing list