[EMAIL PROTECTED] wrote:

>     Glad to see the Installer making it back to the land of the living.  I
>     am trying to build an exe that imports paramiko which in turn imports
> pycrypto (version 2.0, python 2.4); I have narrowed it down to pycrypto
> being the problem.  The exe builds fine but when I try to use the exe I
get
> an AttributeError exception from Crypto.Util.randpool complaining that it
> has no attribute 'digest_size' - the actual python script does not
generate
> this error. The warning file mentions an __import__hack, I have tried
> several different versions of a hook-Crypto.Util.randpool.py file but with
> no success.  Any ideas?

Given the code, you should probably import every possible hash. Something
along the lines of:

hook-Crypto.Utile.randpool.py:
===============================
hiddenimports = [ "Crypto.Hash.*" ]
===============================
-- 
Giovanni Bajo

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to