[pycrypto] setup.py fails to find gmp on Debian/Ubuntu
gooksankoo at hoiptorrow.mailexpire.com
Tue Sep 27 11:02:44 CST 2011
> I've added a call to customize_compiler to your patch. Then CFLAGS and LDFLAGS
> will be honored (as they are during the build). Hence if libgmp is not installed
> in a standard location, the paths can be passed with CFLAGS and LDFLAGS. I've
> also added calls to delete the files that are generated during the test build.
> See the attach patch.
Last bit of polishing:
- Now it works with Python 2.1 (which pycrypto must apparently still support)
- It ignores any exception that os.remove() could raise.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3173 bytes
Desc: not available
Url : http://lists.dlitz.net/pipermail/pycrypto/attachments/20110927/c893181c/attachment.patch
More information about the pycrypto