<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">David,<div class=""><br class=""></div><div class="">It's designed to be simple if you are familiar with pathlib.<br class=""><div class=""><div class=""><br class=""></div><div class="">Should be pretty straightforward to pack with pyqtdeploy, you only need to specify all qrc_pathlib's files to be included.</div><div class="">I didn't test it on iOS, but it should work perfectly fine there.</div><div class=""><br class=""></div><div class="">Let me know if you will have any problem packaging it with pyqtdeploy.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 29 Apr 2016, at 00:38, David Morris <<a href="mailto:othalan@othalan.net" class="">othalan@othalan.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Ilya,<div class=""><br class=""></div><div class="">Great idea! Definitely more robust than my solution. I'll probably find my own answers to these when I get around to playing with this module, but for that is likely to take some time. Forgive the obvious questions ....</div><div class=""><br class=""></div><div class="">How are are these files expected to be packaged with pyqtdeploy? Any chance you have tested this on iOS?</div><div class=""><br class=""></div><div class="">Thank you for the interesting module!</div><div class="">David</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Apr 29, 2016 at 11:18 AM, Ilya Kulakov <span dir="ltr" class=""><<a href="mailto:kulakov.ilya@gmail.com" target="_blank" class="">kulakov.ilya@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">I'm proud to announce a package named qrc_pathlib which extends pathlib and implements pythonic interface to access Qt Resource System.</div><div class=""><a href="https://github.com/GreatFruitOmsk/qrc_pathlib" target="_blank" class="">https://github.com/GreatFruitOmsk/qrc_pathlib</a></div><div class=""><br class=""></div><span style="white-space:pre-wrap" class=""> </span>with QrcPath(':hello.txt').open('r') as f:<div class=""> <span style="white-space:pre-wrap" class=""> </span>print(f.read())</div><div class=""><br class=""></div><div class="">It's especially helpful if you only use Qt for UI and would like to contain it within dedicated modules.</div><div class=""><br class=""></div><br class=""><div class="">
<span style="border-collapse:separate;line-height:normal;border-spacing:0px" class=""><div class="">Best Regards,</div><div class="">Ilya Kulakov</div><div class=""><br class=""></div></span></div></div><br class="">_______________________________________________<br class="">
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank" class="">PyQt@riverbankcomputing.com</a><br class="">
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank" class="">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br class=""></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></div></div></body></html>