Author takluyver
Recipients Jurko.Gospodnetić, barry, brett.cannon, eric.snow, ncoghlan, ned.deily, r.david.murray, takluyver
Date 2014-03-12.19:46:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394653565.45.0.635623562382.issue20884@psf.upfronthosting.co.za>
In-reply-to
Content
I think msg213138 has the key: importlib is actually getting frozen in the Python sense of the module's bytecode being included in a C file and then compiled, not just copied into a zip file. When we freeze importlib._bootstrap as _frozen_importlib, importlib is brought along for the ride as well. So when Python code imports it, it's loading from the frozen copy, and __file__ is not defined.

I think I can see how to fix this in cx_Freeze.
History
Date User Action Args
2014-03-12 19:46:05takluyversetrecipients: + takluyver, barry, brett.cannon, ncoghlan, ned.deily, r.david.murray, Jurko.Gospodnetić, eric.snow
2014-03-12 19:46:05takluyversetmessageid: <1394653565.45.0.635623562382.issue20884@psf.upfronthosting.co.za>
2014-03-12 19:46:05takluyverlinkissue20884 messages
2014-03-12 19:46:05takluyvercreate