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       = [],
      )
