platform_external_selinux/python/sepolicy
Michał Górny ba23ba0683 python: Import specific modules from setools for less deps
Import the setools classes needed for Python bindings from specific
setools modules in order to reduce the dependency footprint
of the Python bindings.  Importing the top-level module causes all
setools modules to be loaded which includes the modules that require
networkx.

SELinux packages belong to the group of core system packages on Gentoo
Linux.  It is desirable to keep the system set as small as possible,
and the dependency between setools and networkx seems to be the easiest
link to break without major loss of functionality.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2021-09-02 10:47:19 -04:00
..
ru Add man pages translation by Olesya Gerasimenko 2019-01-28 12:03:57 +01:00
sepolicy python: Import specific modules from setools for less deps 2021-09-02 10:47:19 -04:00
.gitignore Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
Makefile tree-wide: introduce PYTHON_SETUP_ARGS to customize setup.py calls on Debian 2020-05-06 16:12:35 +02:00
sepolgen.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-bash-completion.sh Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-booleans.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-communicate.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-generate.8 Fix up generation of application policy 2017-05-05 11:52:19 -04:00
sepolicy-gui.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-interface.8 Fix minor typos 2018-06-30 20:28:25 +02:00
sepolicy-manpage.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-network.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy-transition.8 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
sepolicy.8 python/sepolicy: Fix sepolicy manpage. 2017-11-22 09:47:50 +01:00
sepolicy.py sepolicy: generate man pages in parallel 2019-10-21 08:40:53 -04:00
setup.py Update VERSIONs to 3.2 for release. 2021-03-04 16:42:59 +01:00
test_sepolicy.py sepolicy: Fix minor typo in 'transition -s' test 2017-07-27 09:49:32 -04:00