setup.py: Warn when not building _fastmath

This commit is contained in:
Dwayne C. Litzenberger 2008-09-20 17:25:34 -04:00
parent cdb484412d
commit e6f5e8f3d4

View file

@ -149,6 +149,8 @@ class PCTBuildExt (build_ext):
include_dirs=['src/'],
libraries=['gmp'],
sources=["src/_fastmath.c"]))
else:
print >>sys.stderr, "warning: GMP library not found; Not building Crypto.PublicKey._fastmath."
self.extensions += exts
class PCTBuildPy(build_py):