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:
Franck Joncourt
2013-03-17 12:03:07 +01:00
parent aa36f3ffee
commit d299f1de66

View File

@@ -16,6 +16,8 @@ from distutils.core import setup, Extension
fko_ext = Extension(
'_fko',
define_macros = [('MAJOR_VERSION', '1'), ('MINOR_VERSION', '5')],
include_dirs = ['../lib/'],
library_dirs = ['../lib/.libs'],
libraries = ['fko'],
sources = ['fkomodule.c']
)