<div dir="ltr"><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Grzegorz Bokota<br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">czw., 24 wrz 2020 o 02:15 Eli Schwartz <<a href="mailto:eschwartz@archlinux.org">eschwartz@archlinux.org</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 9/23/20 7:03 PM, Bryce Beagle wrote:<br>
> We've found using the resource files easier than using paths when<br>
> distributing with PyInstaller. Also the built-in translation support for<br>
> files is convenient<br>
<br>
I'm curious, why? Can't importlib_resources find the files relative to<br>
the module that it is bundled in?<br>
<br></blockquote><div>Pyinstaller automatically bundles py files. If you would like to work with source files then you need to add it to datas variable in .spec file. Additional maintenance. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I should note that we don't use pyrcc directly, though, but pyqt5ac (<br>
> <a href="https://github.com/addisonElliott/pyqt5ac" rel="noreferrer" target="_blank">https://github.com/addisonElliott/pyqt5ac</a>)<br>
<br>
(I doubt this makes a practical difference as pyqt5ac simply checks for<br>
files which need pyrcc or pyuic to be run, including out of date files,<br>
and then executes pyrcc on your behalf.)<br>
<br>
> * Note: I think I responded with these messages a few minutes ago by<br>
> replying to the digest by accident. I'm resending them here, hopefully this<br>
> time replying to the thread properly. My mailing-list skills are still<br>
> pretty lacking. Sorry for the duplicate messages, assuming the first batch<br>
> even went through?<br>
<br>
The first batch did go through. Neither that, nor this, went through<br>
"correctly", the threading is still broken. It's not a big deal, just<br>
think of it as a learning experience. :)<br>
<br>
For future reference, if you use digests and therefore don't have an<br>
email to reply to, you can go to the website for the mailing list e.g.<br>
<br>
<a href="https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043219.html" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043219.html</a><br>
<br>
Notice how it describes the sender?<br>
<br>
Bryce Beagle bryce.beagle at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a><br>
Thu Sep 24 00:03:14 BST 2020<br>
<br>
The "bryce.beagle at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>" part is a link:<br>
<br>
mailto:<a href="mailto:pyqt%2540riverbankcomputing.com" target="_blank">pyqt%40riverbankcomputing.com</a>?Subject=Re%3A%20PyQt6%20and%20SIP%20v6%20Snapshots%20Available&In-Reply-To=%3CCAKKt4mb8HjGj8a-YGobcdBMtDFP3mJM5QjgEY_NbANzWuKmD6g%<a href="http://40mail.gmail.com" rel="noreferrer" target="_blank">40mail.gmail.com</a>%3E<br>
<br>
That contains the desired Subject line, and also the correct In-Reply-To<br>
email header to ensure threading works properly. Simply click the link,<br>
it will open a new email in your configured email client with everything<br>
set up correctly.<br>
<br>
-- <br>
Eli Schwartz<br>
Arch Linux Bug Wrangler and Trusted User<br>
<br>
</blockquote></div></div>