Commit 29873ff4 authored by Jason Madden's avatar Jason Madden

Stop trying to build gevent._corecffi on ImportError.

We now depend on CFFI/Python new enough that it should be built during
setup/installation.

Trying to build at runtime easily results in "gevent" directories
scattered all over the system.
parent cb24b32f
......@@ -16,14 +16,7 @@ __all__ = [
'loop',
]
try:
import gevent._corecffi
except ImportError:
traceback.print_exc()
# Not built yet
import gevent._corecffi_build
gevent._corecffi_build.ffi.compile()
import gevent._corecffi # pylint: disable=no-member,no-name-in-module,useless-suppression
import gevent._corecffi # pylint:disable=no-name-in-module
ffi = gevent._corecffi.ffi # pylint:disable=no-member
libev = gevent._corecffi.lib # pylint:disable=no-member
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment