summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbr/hooks.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pbr/hooks.py b/pbr/hooks.py
index d3d691c..7a61ece 100644
--- a/pbr/hooks.py
+++ b/pbr/hooks.py
@@ -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
"""