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