mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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
|
raise
|
||||||
|
|
||||||
|
|
||||||
# works everywhere, win for pypy, not cpython
|
USE_CFFI_ACCESS = False
|
||||||
USE_CFFI_ACCESS = hasattr(sys, "pypy_version_info")
|
|
||||||
try:
|
try:
|
||||||
import cffi
|
import cffi
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user