From 5e966d000a76f7f0f89f0c97972c8b3397fc51b9 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 15 Jul 2015 00:11:34 +0900 Subject: [PATCH] python: Fix out-of-tree builds failure --- python/setup.py.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python/setup.py.in b/python/setup.py.in index 3abaddea..a2b4851d 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -22,8 +22,7 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. from setuptools import setup, Extension -from Cython.Build import cythonize - + LIBS = ['nghttp2'] setup( @@ -34,13 +33,13 @@ setup( author_email = 'tatsuhiro.t@gmail.com', url = 'https://nghttp2.org/', keywords = [], - ext_modules = cythonize([Extension("nghttp2", - ["nghttp2.pyx"], + ext_modules = [Extension("nghttp2", + ["nghttp2.c"], include_dirs=['@top_srcdir@/lib', '@top_srcdir@/lib/includes', '@top_builddir@/lib/includes'], library_dirs=['@top_builddir@/lib/.libs', '@top_builddir@'], - libraries=LIBS)]), + libraries=LIBS)], long_description='TBD' )