selinux/python/sepolicy/setup.py
James Carter c08cf24f39 python: Remove dependency on the Python module distutils
The distutils package is deprecated and scheduled to be removed in
Python 3.12. Use the setuptools and sysconfig modules instead.

Signed-off-by: James Carter <jwcart2@gmail.com>
Acked-by: Petr Lautrbach <plautrba@redhat.com>
2022-11-09 07:51:36 -05:00

23 lines
500 B
Python

#!/usr/bin/python3
# Author: Thomas Liu <tliu@redhat.com>
# Author: Dan Walsh <dwalsh@redhat.com>
from setuptools import setup
setup(
name="sepolicy",
version="3.4",
description="Python SELinux Policy Analyses bindings",
author="Daniel Walsh",
author_email="dwalsh@redhat.com",
packages=[
"sepolicy",
"sepolicy.templates",
"sepolicy.help"
],
package_data={
'sepolicy': ['*.glade'],
'sepolicy.help': ['*.txt', '*.png']
}
)