]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup.py: disable building RSA for now, since it requires GMP. We'll refrain
authorBrian Warner <warner@lothar.com>
Thu, 16 Aug 2007 07:52:21 +0000 (00:52 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 16 Aug 2007 07:52:21 +0000 (00:52 -0700)
from adding it to the build-dependencies until we actually want to use RSA.

setup.py

index f2da9a3039c78ac8bf5cbb2e39e41351a45dd771..e9c27abe32de8fc12fa5ccf486c1395b8319f297 100644 (file)
--- 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"]),
+#          ],
       )