diff --git a/libraries/libapparmor/swig/python/setup.py.in b/libraries/libapparmor/swig/python/setup.py.in index 81ec079cf..64cc95cde 100644 --- a/libraries/libapparmor/swig/python/setup.py.in +++ b/libraries/libapparmor/swig/python/setup.py.in @@ -8,10 +8,10 @@ setup(name = 'LibAppArmor', url = 'http://apparmor.wiki.kernel.org', description = 'AppArmor python bindings', download_url = 'https://launchpad.net/apparmor/+download', - package_dir = {'libapparmor1': '@srcdir@'}, - packages = [ 'libapparmor1' ], - ext_package = 'libapparmor1', - ext_modules = [Extension('_libapparmor', ['libapparmor_wrap.c'], + package_dir = {'LibAppArmor': '@srcdir@'}, + packages = [ 'LibAppArmor' ], + ext_package = 'LibAppArmor', + ext_modules = [Extension('_LibAppArmor', ['libapparmor_wrap.c'], include_dirs=['@top_srcdir@/src'], extra_link_args = string.split('-L@top_builddir@/src/.libs -lapparmor'), # static: extra_link_args = string.split('@top_builddir@/src/.libs/libapparmor.a'),