Differences between revisions 5 and 6
Revision 5 as of 2004-01-12 14:02:11
Size: 619
Editor: cache1-2-ffm-vpn
Revision 6 as of 2004-01-12 14:02:26
Size: 625
Editor: cache1-2-ffm-vpn
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
so recommended adding {{{'encodings', 'encodings.*'}}} so recommended adding {{{'encodings', 'encodings.latin_1'}}}


== Solution 1 ==

In py2exe 0.5, if the encodings are not found in the built exe, add these two to the includes: 'encodings', 'encodings.*'

That replaces the '--force-imports encodings' command line option from the [http://starship.python.net/crew/theller/py2exe/ 0.4py2exe]

== Solution 2 ==

Adding 'encodings', 'encodings.*' to includes includes ALL encodings. I'm perfectly happy with only having latin-1 present (at least for some application, which will only be used in western europe)

so recommended adding 'encodings', 'encodings.latin_1'


EncodingsAgain (last edited 2008-07-08 11:27:44 by localhost)