[apparmor] [patch 09/10] libapparmor - swig setup.py.in minor cleanup

Tyler Hicks tyhicks at canonical.com
Fri Sep 6 18:38:08 UTC 2013


On 2013-09-05 01:37:04, Steve Beattie wrote:
> 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 at nxnw.org>

Acked-by: Tyler Hicks <tyhicks at canonical.com>

> ---
>  libraries/libapparmor/swig/python/setup.py.in |   29 ++++++++++++--------------
>  1 file changed, 14 insertions(+), 15 deletions(-)
> 
> Index: b/libraries/libapparmor/swig/python/setup.py.in
> ===================================================================
> --- 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 at 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 at 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 at 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 at top_builddir@/src/.libs -lapparmor'.split(),
> +                    )],
>        )
> 
> 
> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130906/a7ad1ada/attachment.pgp>


More information about the AppArmor mailing list