[Distutils] Solution to encoding issue... sorry!

kevin@cazabon.com kevin@cazabon.com
Sat Mar 1 11:15:01 2003


I managed to find a solution through a combination of posts...  here it is
for anyone interested:

in setup.cfg (for py2exe section):
#########################
packages=encodings
force-imports=sitecustomize
#########################

and in sitecustomize.py:
#########################
import sys, codecs
sys.setdefaultencoding("latin1")
#########################

Kevin.