mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Martin Basti
parent
7c9df35d3d
commit
ae1c2086db
+2
-1
@@ -29,7 +29,8 @@ class build_py(setuptools_build_py):
|
||||
|
||||
def finalize_options(self):
|
||||
setuptools_build_py.finalize_options(self)
|
||||
if 'bdist_wheel' in self.distribution.commands:
|
||||
omit = os.environ.get('IPA_OMIT_INSTALL', '0')
|
||||
if omit == '1':
|
||||
distname = self.distribution.metadata.name
|
||||
self.skip_package = '{}.install'.format(distname)
|
||||
log.warn("bdist_wheel: Ignore package: %s",
|
||||
|
||||
Reference in New Issue
Block a user