From 51032351297b9bf7d783b7138ac0c142d8e38918 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 20 May 2017 10:09:02 -0700 Subject: time to remove commoncrypto, fare thee well (#3551) * time to remove commoncrypto, fare thee well * remove even more * update the changelog * remove more things * don't need this function * remove CAST5 CTR tests since that was only supported in commoncrypto * assert a thing --- setup.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index e5e6949e..586ea48d 100644 --- a/setup.py +++ b/setup.py @@ -73,20 +73,10 @@ if not os.path.exists(os.path.join(base_dir, "vectors/setup.py")): test_requirements.append(VECTORS_DEPENDENCY) -def cc_is_available(): - return sys.platform == "darwin" and list(map( - int, platform.mac_ver()[0].split("."))) >= [10, 8, 0] - - backends = [ "openssl = cryptography.hazmat.backends.openssl:backend" ] -if cc_is_available(): - backends.append( - "commoncrypto = cryptography.hazmat.backends.commoncrypto:backend", - ) - class PyTest(test): def finalize_options(self): @@ -212,8 +202,6 @@ def keywords_with_side_effects(argv): "src/_cffi_src/build_constant_time.py:ffi", "src/_cffi_src/build_padding.py:ffi", ] - if cc_is_available(): - cffi_modules.append("src/_cffi_src/build_commoncrypto.py:ffi") return { "setup_requires": setup_requirements, -- cgit v1.2.3