1 #!/usr/bin/env python 2 3 # Author: Thomas Liu <tliu (at] redhat.com> 4 # Author: Dan Walsh <dwalsh (at] redhat.com> 5 import os 6 from distutils.core import setup, Extension 7 policy = Extension("sepolicy._policy", 8 libraries=["apol", "qpol"], 9 sources=["policy.c", "info.c", "search.c"] 10 ) 11 12 setup(name="sepolicy", version="1.1", description="Python SELinux Policy Analyses bindings", author="Daniel Walsh", author_email="dwalsh (at] redhat.com", ext_modules=[policy], packages=["sepolicy", "sepolicy.templates", "sepolicy.help"], package_data={'sepolicy': ['*.glade'], 'sepolicy.help': ['*.txt', '*.png']}) 13