From: Jimmy R. <ji...@re...> - 2005-12-01 18:41:29
|
Denis Barmenkov wrote: > I found similar problem: >=20 > file test.py: > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > from Crypto.Cipher import * >=20 > print 'ok' Because of the way Crypto.Cipher references those extension modules (they are never explicitly imported), py2exe doesn't know they are being imported. If you explicitly reference the ciphers you need then it works: file test.py: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D from Crypto.Cipher import AES, Blowfish print dir(AES) print dir(Blowfish) This works fine for me with your setup.py. Jimmy |