mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Do not use CFFI access by default on PyPy
This commit is contained in:
parent
e5188f6815
commit
811bfe3658
|
@ -107,8 +107,7 @@ except ImportError as v:
|
|||
raise
|
||||
|
||||
|
||||
# works everywhere, win for pypy, not cpython
|
||||
USE_CFFI_ACCESS = hasattr(sys, "pypy_version_info")
|
||||
USE_CFFI_ACCESS = False
|
||||
try:
|
||||
import cffi
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in New Issue
Block a user