Skip to content
Snippets Groups Projects
Commit 52ffad23 authored by Donald Stufft's avatar Donald Stufft
Browse files

Stop monkeypatching the _get_so_suffixes

parent 3c31c4ba
No related branches found
No related tags found
No related merge requests found
......@@ -18,9 +18,6 @@ from __future__ import absolute_import
from __future__ import division
import functools
import platform
from distutils.sysconfig import get_config_vars
import cffi.verifier
......@@ -30,15 +27,6 @@ from cffi import FFI
__all__ = ["ffi", "lib"]
# Monkeypatch cffi.verifier._get_so_suffix to return the same as distutils
# See: https://bitbucket.org/cffi/cffi/issue/110/
def _get_so_suffix():
return get_config_vars().get("EXT_SUFFIX", ".so")
if not platform.python_implementation().lower() == "pypy":
cffi.verifier._get_so_suffix = _get_so_suffix
ffi = FFI()
ffi.cdef(
# Secret Key Encryption
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment