Commit 56453c92 authored by Denis Bilenko's avatar Denis Bilenko

setup.py: if libevent version-detection mechanism fails, assume 1

parent f2a77e1b
......@@ -180,9 +180,10 @@ else:
break
if LIBEVENT_MAJOR is None:
print 'Cannot guess the version of libevent installed on your system.'
else:
extra_compile_args.append( '-DUSE_LIBEVENT_%s' % LIBEVENT_MAJOR )
print 'Cannot guess the version of libevent installed on your system. DEFAULTING TO 1.'
LIBEVENT_MAJOR = 1
extra_compile_args.append( '-DUSE_LIBEVENT_%s' % LIBEVENT_MAJOR )
gevent_core = Extension(name = 'gevent.core',
......
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