mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-24 06:52:12 +00:00
13 lines
528 B
Python
13 lines
528 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"])
|