py2exe and sitecustomize.py (character set selection)

March 1, 2003
1:53 a.m.
Hi everyone; I'm trying to build an .exe that uses the Latin1 character set by default by setting: sys.setdefaultencoding("latin1") in sitecustomize.py. The problem is that py2exe doesn't seem to be including sitecustomize.py in a way that sets this before sys is imported. I tried using "force-imports=sitecustomze", but to no avail. Any suggestions? Thanks Kevin.
8033
Age (days ago)
8033
Last active (days ago)
0 comments
1 participants
participants (1)
-
kevin@cazabon.com