summaryrefslogtreecommitdiff
path: root/pbr/hooks/commands.py
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-07-16 12:34:50 +1200
committerRobert Collins <rbtcollins@hp.com>2015-07-29 06:19:40 +1200
commit89402a71776a02c69b67fc14452b82a9a9d85ac0 (patch)
tree57a9d404b042178052fa8d18de3762931c242e21 /pbr/hooks/commands.py
parent1f102e60d72de4ece80c22c0be5734f74cc3b776 (diff)
downloadpbr-89402a71776a02c69b67fc14452b82a9a9d85ac0.tar.gz
Export ChangeLog and AUTHORS in install
readthedocs uses 'setup.py install' to prepare trees for doc creation, but ChangeLog is not currently created there, and doing so would be nice. This won't affect develop invocations AFAICT, and even if it did, the overheads are ~10% of the time to run 0 tests in Nova today - e.g. quite tolerable. Change-Id: I7bc18fc9ca2dbe852598cc79b2ad6273fc53557d
Diffstat (limited to 'pbr/hooks/commands.py')
-rw-r--r--pbr/hooks/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbr/hooks/commands.py b/pbr/hooks/commands.py
index 8e651e6..216c9a1 100644
--- a/pbr/hooks/commands.py
+++ b/pbr/hooks/commands.py
@@ -61,3 +61,5 @@ class CommandsConfig(base.BaseConfig):
# We always want non-egg install unless explicitly requested
if 'manpages' in self.pbr_config or not use_egg:
self.add_command('pbr.packaging.LocalInstall')
+ else:
+ self.add_command('pbr.packaging.InstallWithGit')