shim selinux module
# selinux Pure-python selinux shim module for use in virtualenvs in oder to avoid failure to load selinux in Ansible modules.
You still need to have libselinux python bindings package installed on your system for it to work but you no longer have the problem of not being able to import it from inside isolated (default) virtualenvs.
This package was also tested as installed outside virtualenvs and seems not to interfere with the original library.
So far testing was done on: * CentOS 7 - python2 * Fedora 28 - python2 and python3
- Updated Trove classifiers
- Refactored the generation of package metadata when build from source
- Marked release as stable
- First version that can really detect selinux on system and load it, allowing users of isolated virtualenvs to be able to load selinux.
- Library is supoosed to load nothing on non-Linux systems
- Only one warning is raised if the library failes to find system selinux
- First release on PyPI.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size selinux-0.2.0-py2.py3-none-any.whl (4.5 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size selinux-0.2.0.tar.gz (11.1 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for selinux-0.2.0-py2.py3-none-any.whl