Skip to content

Commit

Permalink
Make selinux an optional extra (ansible-community#89)
Browse files Browse the repository at this point in the history
As our special selinux shim dependency also caused problems for
people that did not really need selinux, we now make it a simple
extra.
  • Loading branch information
ssbarnea authored and dankow committed Mar 31, 2023
1 parent 30739e6 commit 76039b7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ docker = [
ec2 = []
gce = []
podman = [
# selinux python module is needed as least by ansible-podman modules
# and allows us of isolated (default) virtualenvs. It does not avoid need
# to install the system selinux libraries but it will provide a clear
# message when user has to do that.
]
selinux = [
# selinux python module is needed as least by podman and docker on systems
# that do have selinux enabled and where code is running inside of an
# isolated (default) virtualenv. It does not avoid need to install the
# system selinux libraries but it will provide a clear message when user
# has to do that.
'selinux; sys_platform=="linux2"',
'selinux; sys_platform=="linux"',
]
Expand Down

0 comments on commit 76039b7

Please sign in to comment.