mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
20 lines
782 B
Python
20 lines
782 B
Python
from distutils.core import setup, Extension
|
|
import string
|
|
|
|
setup(name = 'LibAppArmor',
|
|
version = '@VERSION@',
|
|
author = 'AppArmor Dev Team',
|
|
author_email = 'apparmor@lists.ubuntu.com',
|
|
url = 'http://apparmor.wiki.kernel.org',
|
|
description = 'AppArmor python bindings',
|
|
download_url = 'https://launchpad.net/apparmor/+download',
|
|
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'),
|
|
)],
|
|
)
|