again py2exe and codecs

Achim Domma domma at procoders.net
Fri Mar 5 06:57:37 EST 2004


Hi,

I still have problems to get cjkcodecs to work with py2exe. I added
cjkcodecs to my setup.py like this:

opts = {
    "py2exe" : {
        "includes" : ["encodings","encodings.*","cjkcodecs","cjkcodecs.*"],
        "packages" : ["encodings","cjkcodecs"]
        }
    }

After that, my distribution contains _gb2312.pyd and _big5.pyd but at
runtime I get an unknown encoding error, if I try to use gb2312 or big5. Any
hint?

regards,
Achim





More information about the Python-list mailing list