Add ne wdirective to setup.py in order to be able to build the python binding
without having libfko installed on the system.
This commit is contained in:
@@ -16,6 +16,8 @@ from distutils.core import setup, Extension
|
|||||||
fko_ext = Extension(
|
fko_ext = Extension(
|
||||||
'_fko',
|
'_fko',
|
||||||
define_macros = [('MAJOR_VERSION', '1'), ('MINOR_VERSION', '5')],
|
define_macros = [('MAJOR_VERSION', '1'), ('MINOR_VERSION', '5')],
|
||||||
|
include_dirs = ['../lib/'],
|
||||||
|
library_dirs = ['../lib/.libs'],
|
||||||
libraries = ['fko'],
|
libraries = ['fko'],
|
||||||
sources = ['fkomodule.c']
|
sources = ['fkomodule.c']
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user