From: Brian Warner <warner@lothar.com>
Date: Thu, 16 Aug 2007 07:52:21 +0000 (-0700)
Subject: setup.py: disable building RSA for now, since it requires GMP. We'll refrain
X-Git-Tag: allmydata-tahoe-0.5.0~3
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/frontends/running.html?a=commitdiff_plain;h=91469242710165fbffbe1869004438048305cb55;p=tahoe-lafs%2Ftahoe-lafs.git

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.
---

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"]),
+#          ],
       )