[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: pyqtdeploy --resources does not split data files in app pkg dir
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2020-11-03 8:37:04
Message-ID: C26E24BE-B1F8-4EB0-9F81-9BFD7B317F1C () gmail ! com
[Download RAW message or body]

Actually looks like a bad patch; it breaks built-in modules. Not sure why. Oh well.

> On Nov 2, 2020, at 11:08 PM, Patrick Stinson <patrickkidd@gmail.com> wrote:
> 
> It looks like the .pyo's and other resource files haven't been generated/copied \
> into the build folder before Builder._generate_resources(), so a file size can't be \
> determined for them using the relative path in the qrc. I couldn't figure out how \
> to find the original files in the app package, so I wrote this janky hack that only \
> works on some resource files included in the app package and ignores the rest. 
> Maybe you have a tip that could clean this up, or can just clean it up.
> 
> <max-size.patch>
> 
> > On Nov 2, 2020, at 8:12 AM, Phil Thompson <phil@riverbankcomputing.com> wrote:
> > 
> > On 02/11/2020 17:05, Patrick Stinson wrote:
> > > Thanks. I'm going to see if I can patch it to distribute based on file
> > > size more equally. Any unforeseen side-effects of that?
> > 
> > No but it might be easier to just add a --max-size option which specifies that \
> > any file over that size goes into its own .qrc file. 
> > Phil
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic