[PyQt] Finding the app folder under pyqtdeploy

Florian Bruhin me at the-compiler.org
Tue Aug 5 21:59:40 BST 2014


* Phil Thompson <phil at riverbankcomputing.com> [2014-08-05 21:49:45 +0100]:
> On 05/08/2014 9:05 pm, Florian Bruhin wrote:
> >* Dave Gradwell <davegradwell at yahoo.co.uk> [2014-08-05 20:24:54 +0100]:
> >>Hi,
> >>
> >>> perhaps a try/except block around "import pyqtdeploy"?]
> >>That's what works for me.
> >
> >cx_Freeze (and maybe others?) add a frozen attribute to sys, so you
> >can do hasattr(sys, 'frozen').
> >
> >Maybe that should be added to pyqtdeploy as well, if it isn't already?
> 
> if is_confirmed("and maybe others"):
>    i_will_add_it()
> else:
>    sorry_i_wont()

Just checked - at least py2exe and pyinstaller do the same.

Sources:
http://cx-freeze.readthedocs.org/en/latest/faq.html#using-data-files
http://www.py2exe.org/index.cgi/WhereAmI
http://www.pyinstaller.org/wiki/Recipe/Multiprocessing

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
             GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140805/ce6f98ba/attachment.sig>


More information about the PyQt mailing list