mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-05 00:35:13 +00:00
Adds python3 setuptools as a build dependency for libapparmor
Fixes: https://gitlab.com/apparmor/apparmor/-/issues/202
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/813
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
Acked-by: Christian Boltz <apparmor@cboltz.de>
(cherry picked from commit 21e5a721ab
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
20 lines
820 B
Python
20 lines
820 B
Python
from setuptools import setup, Extension
|
|
import string
|
|
|
|
setup(name = 'LibAppArmor',
|
|
version = '@VERSION@',
|
|
author = 'AppArmor Dev Team',
|
|
author_email = 'apparmor@lists.ubuntu.com',
|
|
url = 'https://wiki.apparmor.net',
|
|
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@/include'],
|
|
extra_link_args = '-L@top_builddir@/src/.libs -lapparmor'.split(),
|
|
)],
|
|
scripts = [],
|
|
)
|