pyqtdeploy.PythonPackage deeper than one dir
Kaiser Chief
kaiser.chiefmail at gmail.com
Sat Oct 19 18:11:29 BST 2024
Hi Phil,
Thank you for the clarification.
I realise that I am only in the early stages of understanding the inner
workings of python packages and how to put them into an app (through frozen
packages for instance).
I am keen to progress on this on my own for now and contribute to
pyqtdeploy if I find something useful.
At the moment to install a specific python package into the app, I have
built a very simple tool that will search for dependencies related to the
package and it will update the sysroot (and pdt) with them.
The tool works well for packages with standard library dependencies (like
pyyaml), but I struggle a bit more with numpy package or pandas package
because of some built-in packages that I cannot freeze easily or
multi-package dependencies.
I am only focusing on integrating python packages for now.
As such, I was wondering whether there was a simpler way to integrate
python packages into an app.
If not that's fine, I will keep researching and experimenting.
Best regards,
KC
On Sat, 19 Oct 2024, 17:55 Phil Thompson, <phil at riverbankcomputing.com>
wrote:
> The intention is that somebody who has an interest in and knowledge of a
> complex package would put the (significant) effort into creating an
> appropriate component plugin which would then be added to pyqtdeploy's
> contrib directory.
>
> Phil
>
> On 13/10/2024 18:28, Kaiser Chief wrote:
> > Hi,
> >
> > Keen to know about that one too.
> >
> > I can add simple python packages like pyyaml, but for numpy that gets
> > pretty complex...
> >
> > Link to attempts: https://github.com/achille-martin/pyqt-crom/issues/32
> >
> > Best regards,
> >
> >
> >
> > On Sun, 13 Oct 2024, 18:03 Patrick Stinson, <patrickkidd at gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> I am trying to include a pure python package in my pyqtdeploy sysroot.
> >> Pyqtdeploy doesn’t copy more than one dir deep for that class. What is
> >> the
> >> correct way to add a sysroot Part that includes more than one folder?
> >>
> >> Cheers,
> >> -Patrick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20241019/e949a394/attachment.htm>
More information about the PyQt
mailing list