Add an option to build ipaserver wheels

To create a wheel bundle with ipaserver and its dependencies:

    make wheel_bundle IPA_SERVER_WHEELS=1

To include additional dependencies:

    make wheel_bundle IPA_EXTRA_WHEELS=ipatests[webui]

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Christian Heimes
2017-01-17 12:16:25 +01:00
committed by Martin Basti
parent 7c9df35d3d
commit ae1c2086db
6 changed files with 28 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ import six
try:
import pyhbac
except ImportError:
pyhbac = None
raise errors.SkipPluginModule(reason=_('pyhbac is not installed.'))
if six.PY3:
@@ -314,14 +314,6 @@ class hbactest(Command):
return host
def execute(self, *args, **options):
if pyhbac is None:
raise errors.ValidationError(
name=_('missing pyhbac'),
error=_(
'pyhbac is not available on the server.'
)
)
# First receive all needed information:
# 1. HBAC rules (whether enabled or disabled)
# 2. Required options are (user, target host, service)

View File

@@ -71,7 +71,6 @@ if __name__ == '__main__':
},
extras_require={
# These packages are currently not available on PyPI.
"caacl": ["pyhbac"],
"dcerpc": ["samba", "pysss", "pysss_nss_idmap"],
"hbactest": ["pyhbac"],
"install": ["SSSDConfig"],