selinux/policycoreutils/sepolicy/setup.py
Dan Walsh e6a1298e54 These are massive changes involved in building new GUI.
Too difficult to break out into seperate patches at this point.
Since almost no other groups are using sepolicy yet, I will push together.
2013-10-24 13:58:41 -04:00

13 lines
621 B
Python

#!/usr/bin/env python
# Author: Thomas Liu <tliu@redhat.com>
# Author: Dan Walsh <dwalsh@redhat.com>
import os
from distutils.core import setup, Extension
policy = Extension("sepolicy._policy",
libraries=["apol", "qpol"],
sources=[ "policy.c", "info.c", "search.c"]
)
setup(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']})