2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

Subject: libapparmor - swig setup.py.in minor cleanup

This patch gives a more pythonish whitespace cleanup to the swig python
setup.py.in configuration file. It also updates the wiki url.

(That said, pep8 will still probably barf all over it.)

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
Steve Beattie
2013-09-06 14:15:43 -07:00
parent 6047bca2c3
commit fce987ffc8

View File

@@ -1,19 +1,18 @@
from distutils.core import setup, Extension from distutils.core import setup, Extension
import string import string
setup(name = 'LibAppArmor', setup(name = 'LibAppArmor',
version = '@VERSION@', version = '@VERSION@',
author = 'AppArmor Dev Team', author = 'AppArmor Dev Team',
author_email = 'apparmor@lists.ubuntu.com', author_email = 'apparmor@lists.ubuntu.com',
url = 'http://apparmor.wiki.kernel.org', url = 'http://wiki.apparmor.net',
description = 'AppArmor python bindings', description = 'AppArmor python bindings',
download_url = 'https://launchpad.net/apparmor/+download', download_url = 'https://launchpad.net/apparmor/+download',
package_dir = {'LibAppArmor': '@srcdir@'}, package_dir = {'LibAppArmor': '@srcdir@'},
packages = [ 'LibAppArmor' ], packages = [ 'LibAppArmor' ],
ext_package = 'LibAppArmor', ext_package = 'LibAppArmor',
ext_modules = [Extension('_LibAppArmor', ['libapparmor_wrap.c'], ext_modules = [Extension('_LibAppArmor', ['libapparmor_wrap.c'],
include_dirs=['@top_srcdir@/src'], include_dirs=['@top_srcdir@/src'],
extra_link_args = '-L@top_builddir@/src/.libs -lapparmor'.split(), extra_link_args = '-L@top_builddir@/src/.libs -lapparmor'.split(),
# static: extra_link_args = '@top_builddir@/src/.libs/libapparmor.a'.split(), )],
)],
) )