diff --git a/cffi_modules/mceliece6960119f_avx2.py b/cffi_modules/mceliece6960119f_avx2.py deleted file mode 100644 index c2b9b5aa..00000000 --- a/cffi_modules/mceliece6960119f_avx2.py +++ /dev/null @@ -1,3 +0,0 @@ -from cffi_modules._mceliece_cffi_maker import make_mceliece_ffi - -ffi = make_mceliece_ffi('./Modules/PQClean/crypto_kem/mceliece6960119f/avx2') diff --git a/pyproject.toml b/pyproject.toml index bb190996..02913643 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pypqc" -version = "0.0.6.2-rc5" +version = "0.0.6.2-rc4" description = "Python bindings for the \"PQClean\" post-quantum cryptography library." readme = "README.rst" urls = {"Homepage" = "https://github.com/JamesTheAwesomeDude/pypqc"} diff --git a/setup.py b/setup.py index 791f6fb1..fbc8b8d9 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,9 @@ def get_tag(self): return python, abi, plat -cffi_modules=[ +setup( + cmdclass={'bdist_wheel': site_bdist_wheel}, + cffi_modules=[ 'cffi_modules/dilithium2_clean.py:ffi', 'cffi_modules/dilithium3_clean.py:ffi', 'cffi_modules/dilithium5_clean.py:ffi', @@ -66,7 +68,6 @@ def get_tag(self): 'cffi_modules/mceliece460896f_clean.py:ffi', 'cffi_modules/mceliece6688128f_clean.py:ffi', 'cffi_modules/mceliece6960119f_clean.py:ffi', - 'cffi_modules/mceliece6960119f_avx2.py:ffi', 'cffi_modules/mceliece8192128f_clean.py:ffi', ##'cffi_modules/mceliece6688128pcf_clean.py:ffi', ##'cffi_modules/mceliece6960119pcf_clean.py:ffi', @@ -83,15 +84,5 @@ def get_tag(self): 'cffi_modules/sphincs-shake-192s-simple_clean.py:ffi', 'cffi_modules/sphincs-shake-256f-simple_clean.py:ffi', 'cffi_modules/sphincs-shake-256s-simple_clean.py:ffi', - ] - - -if platform.system() == 'Windows': - for i in reversed([i for i, cffi_module in enumerate(cffi_modules) if '_avx2' in cffi_module]): - cffi_modules.pop(i) - - -setup( - cmdclass={'bdist_wheel': site_bdist_wheel}, - cffi_modules=cffi_modules + ], )