python: Fix out-of-tree builds failure
This commit is contained in:
parent
1c7431293d
commit
5e966d000a
|
@ -22,8 +22,7 @@
|
||||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
from setuptools import setup, Extension
|
from setuptools import setup, Extension
|
||||||
from Cython.Build import cythonize
|
|
||||||
|
|
||||||
LIBS = ['nghttp2']
|
LIBS = ['nghttp2']
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
@ -34,13 +33,13 @@ setup(
|
||||||
author_email = 'tatsuhiro.t@gmail.com',
|
author_email = 'tatsuhiro.t@gmail.com',
|
||||||
url = 'https://nghttp2.org/',
|
url = 'https://nghttp2.org/',
|
||||||
keywords = [],
|
keywords = [],
|
||||||
ext_modules = cythonize([Extension("nghttp2",
|
ext_modules = [Extension("nghttp2",
|
||||||
["nghttp2.pyx"],
|
["nghttp2.c"],
|
||||||
include_dirs=['@top_srcdir@/lib',
|
include_dirs=['@top_srcdir@/lib',
|
||||||
'@top_srcdir@/lib/includes',
|
'@top_srcdir@/lib/includes',
|
||||||
'@top_builddir@/lib/includes'],
|
'@top_builddir@/lib/includes'],
|
||||||
library_dirs=['@top_builddir@/lib/.libs',
|
library_dirs=['@top_builddir@/lib/.libs',
|
||||||
'@top_builddir@'],
|
'@top_builddir@'],
|
||||||
libraries=LIBS)]),
|
libraries=LIBS)],
|
||||||
long_description='TBD'
|
long_description='TBD'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue