Add ne wdirective to setup.py in order to be able to build the python binding
authorFranck Joncourt <franck@debian.org>
Sun, 17 Mar 2013 11:03:07 +0000 (12:03 +0100)
committerFranck Joncourt <franck@debian.org>
Sun, 17 Mar 2013 11:03:07 +0000 (12:03 +0100)
without having libfko installed on the system.

python/setup.py

index 22c8120..963afc2 100644 (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']
 )