Default to single-version-externally-managed
The other thing is always confusing and never what people want. Change-Id: I915f561da2f74048c24dd324dbe71b5446d39197 Reviewed-on: https://review.openstack.org/28060 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
52fb3618ed
commit
6d656500f5
|
@ -51,10 +51,10 @@ pbr.packaging.LocalBuildLatex
|
|||
"""
|
||||
|
||||
pbr_config = config.get('pbr', dict())
|
||||
if (packaging.get_boolean_option(pbr_config,
|
||||
'single-version-externally-mananged',
|
||||
'SINGLE_VERSION_EXTERNALLY_MANANGED')
|
||||
or 'manpages' in pbr_config):
|
||||
use_egg = packaging.get_boolean_option(
|
||||
pbr_config, 'use-egg', 'PBR_USE_EGG')
|
||||
# We always want non-egg install unless explicitly requested
|
||||
if 'manpages' in pbr_config or not use_egg:
|
||||
config['global']['commands'] = config['global']['commands'] + """
|
||||
pbr.packaging.DistutilsInstall
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue