Hi,
Thanks for your reply,according to your reply "move the topia folder out of
the zip file, and place it in the directory alongside your executable",I guess
I can do it in this way:
in setup( ) of setup.py ,I set excludes = ["topia"]" ,and then copy topia
package directly to the directory where executable belongs,is that ok?
squirre...@126.com
发件人: Thomas Kluyver
发送时间: 2014-11-22 02:52
收件人: primary discussion list for use and development of cx_Freeze
主题: Re: [cx-freeze-users]when an exe generated by cx_freeze read txt file in
library.zip,a “cant open file” error occured
On 21 November 2014 01:53, squirre...@126.com <squirre...@126.com> wrote:
I think the cause of this error is that some function need read
english-lexicon.txt,but now english-lexicon.txt is included in a zip file,so it
cant be opened.
This is pretty common, and I'm hoping to make the next version of cx_Freeze
only zip packages the user asks it to, to avoid problems like this.
To work around it, you should be able to move the topia folder out of the zip
file, and place it in the directory alongside your executable.
Thomas
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users