From 00aeb667ea5f7c4eaf46cea74fde14bb5e15b72a Mon Sep 17 00:00:00 2001 From: Legrandin Date: Sat, 10 Oct 2015 22:48:17 +0200 Subject: [PATCH] Remove dead code from setup --- setup.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/setup.py b/setup.py index 6d26e632..59736a27 100644 --- a/setup.py +++ b/setup.py @@ -123,21 +123,6 @@ def test_compilation(program, extra_cc_options=None, extra_libraries=None): return result -def libgmp_exists(): - '''Tests if the GMP library is available''' - - source = """ - #include - int main(void) - { - mpz_init((void*)0); - return 0; - } - """ - - return test_compilation(source, extra_libraries=('gmp',)) - - class PCTBuildExt (build_ext): aesni_mod_names = "Crypto.Cipher._raw_aesni",