From fce987ffc84f583b92c60d194ffa72b5f95c4bd1 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Fri, 6 Sep 2013 14:15:43 -0700 Subject: [PATCH] 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 Acked-by: Tyler Hicks --- libraries/libapparmor/swig/python/setup.py.in | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/libraries/libapparmor/swig/python/setup.py.in b/libraries/libapparmor/swig/python/setup.py.in index d7d0ec4d7..c6bf3bc7e 100644 --- a/libraries/libapparmor/swig/python/setup.py.in +++ b/libraries/libapparmor/swig/python/setup.py.in @@ -1,19 +1,18 @@ 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 = '-L@top_builddir@/src/.libs -lapparmor'.split(), -# static: extra_link_args = '@top_builddir@/src/.libs/libapparmor.a'.split(), - )], +setup(name = 'LibAppArmor', + version = '@VERSION@', + author = 'AppArmor Dev Team', + author_email = 'apparmor@lists.ubuntu.com', + url = 'http://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@/src'], + extra_link_args = '-L@top_builddir@/src/.libs -lapparmor'.split(), + )], )