[PyQt] Finding the app folder under pyqtdeploy

Phil Thompson phil at riverbankcomputing.com
Tue Aug 5 21:49:45 BST 2014


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()

Phil


More information about the PyQt mailing list