From 91469242710165fbffbe1869004438048305cb55 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 16 Aug 2007 00:52:21 -0700 Subject: [PATCH] setup.py: disable building RSA for now, since it requires GMP. We'll refrain from adding it to the build-dependencies until we actually want to use RSA. --- setup.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index f2da9a30..e9c27abe 100644 --- a/setup.py +++ b/setup.py @@ -99,7 +99,10 @@ setup(name='allmydata-tahoe', Extension("allmydata.Crypto.Hash.SHA256", include_dirs=["src/allmydata/Crypto"], sources=["src/allmydata/Crypto/SHA256.c"]), - Extension("allmydata.Crypto.PublicKey._fastmath", - sources=["src/allmydata/Crypto/_fastmath.c"]), - ], + # _fastmath requires gmp. Since we're not using rsa yet, hold off + # on requiring this. (note that RSA.py doesn't require _fastmath, + # but I doubt we'd want to use the pure-python version). +# Extension("allmydata.Crypto.PublicKey._fastmath", +# sources=["src/allmydata/Crypto/_fastmath.c"]), +# ], ) -- 2.45.2