11dce0bf16d6300d4858d611cb29de336bfd85f9aEric Paris#!/usr/bin/env python 21dce0bf16d6300d4858d611cb29de336bfd85f9aEric Paris 31dce0bf16d6300d4858d611cb29de336bfd85f9aEric Paris# Author: Thomas Liu <tliu@redhat.com> 41dce0bf16d6300d4858d611cb29de336bfd85f9aEric Paris# Author: Dan Walsh <dwalsh@redhat.com> 51dce0bf16d6300d4858d611cb29de336bfd85f9aEric Parisimport os 61dce0bf16d6300d4858d611cb29de336bfd85f9aEric Parisfrom distutils.core import setup, Extension 7789d0ebbf9fa448b09917ccd0adff91d72e9f5c1Jason Zamanpolicy = Extension("sepolicy._policy", 81dce0bf16d6300d4858d611cb29de336bfd85f9aEric Paris libraries=["apol", "qpol"], 9789d0ebbf9fa448b09917ccd0adff91d72e9f5c1Jason Zaman sources=["policy.c", "info.c", "search.c"] 10789d0ebbf9fa448b09917ccd0adff91d72e9f5c1Jason Zaman ) 111dce0bf16d6300d4858d611cb29de336bfd85f9aEric Paris 12789d0ebbf9fa448b09917ccd0adff91d72e9f5c1Jason Zamansetup(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