hi
include_dirs you need include the kfs source directory, relative path is permited and also need the path of boost header file. runtime_library_dirs set the kfs library path and boost library path. not need of your kfs project. libraries must be set too. (libraries = ['kfsClient', 'boost_regex'] ), get your an example:
kfsext = Extension('kfs',
include_dirs = ['../', '../../../../include/'], # kfs source path, boost include path
libraries = ['kfsClient', 'boost_regex'],
library_dirs = [kfs_lib_dir],
runtime_library_dirs = ['../../../../kfslib', '../../../../lib'] # kfs ilbraries path, boost library path ,
sources = ['KfsModulePy.cc'])
the other step you can see also : doc/COMPILING.txt
the key point of the other step is export PYTHONPATH and LD_LIBRARY_PATH.
forgive my pool english!
good luck