[pycrypto] Patch for build failures with PyCrypto 2.4 and easy_install

Sebastian Ramacher sebastian+lists at ramacher.at
Sat Oct 29 11:09:20 CST 2011


Hi,

attached is a patch that fixes the build issues with the new method to detect
libgmp and easy_install. The problem is that easy_install builds with bdist_egg
which manually calls the build_[py|ext] targets but not build itself. Thus
build_configure will not be called and the build fails.

With the patach build_ext calls build_configure as sub command.

The second patch fixes setup.py sdist. configure, configure.ac and
src/config.h.in are missing in a tarball created with setup.py sdist with out
this patch.

Kind regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Run-build_configure-from-build_ext.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.dlitz.net/pipermail/pycrypto/attachments/20111029/96a3772c/attachment.patch 


More information about the pycrypto mailing list