Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sivel/libselinux-python-wheels
POC Ansible playbooks to build wheel files for libselinux-python
https://github.com/sivel/libselinux-python-wheels
Last synced: about 2 months ago
JSON representation
POC Ansible playbooks to build wheel files for libselinux-python
- Host: GitHub
- URL: https://github.com/sivel/libselinux-python-wheels
- Owner: sivel
- License: gpl-3.0
- Created: 2019-03-14T14:56:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-14T15:39:09.000Z (almost 6 years ago)
- Last Synced: 2024-10-25T18:13:42.480Z (3 months ago)
- Language: Python
- Size: 1.24 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libselinux-python-wheels
Ansible playbooks to build wheel files for libselinux-pythonThis is a super early POC
## Goals
This project aims to give people the ability to build python wheel files for libselinux-python to allow installation in virtual environments without using `--system-site-packages`
## Use
### Requirements
1. Have access to docker, either installed locally or available and configured via `DOCKER_` environment variables
2. Ansible >= 2.7### Executing
```
$ ansible-playbook -i hosts -v python-selinux.yml
```Wheel files will be downloaded into the `wheelhouse` directory.
## docker.pex?
To avoid needing to install the `docker` python library to work with the Ansible `docker_container` module, a PEX file with `docker` installed within is provided to work as the `ansible_python_interpreter` for `docker_container` tasks.
This file was created using:
```
$ pex -o docker.pex docker
```To read more about PEX check out [https://pex.readthedocs.io/en/stable/](https://pex.readthedocs.io/en/stable/)