diff options
author | Soren Hansen <soren.hansen@rackspace.com> | 2010-08-31 21:17:48 +0200 |
---|---|---|
committer | Soren Hansen <soren.hansen@rackspace.com> | 2010-08-31 21:17:48 +0200 |
commit | 921d9d01d731f2fda05c73775606f87b3be9aba6 (patch) | |
tree | 32e8467e664945c4c783fdccf7c41f6c37176977 /setup.py | |
parent | e185a95ae6396e86e92b4a5e7ec92b5b422847d5 (diff) | |
download | nova-921d9d01d731f2fda05c73775606f87b3be9aba6.tar.gz |
Better log formatter for Nova. It's just like gnuchangelog, but logs the author rather than the committer.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -29,8 +29,10 @@ class local_sdist(sdist): def run(self): if os.path.isdir('.bzr'): # We're in a bzr branch - log_cmd = subprocess.Popen(["bzr", "log", "--gnu"], - stdout=subprocess.PIPE) + env = os.environ.copy() + env['BZR_PLUGIN_PATH'] = os.path.abspath('./bzrplugins') + log_cmd = subprocess.Popen(["bzr", "log", "--novalog"], + stdout=subprocess.PIPE, env=env) changelog = log_cmd.communicate()[0] with open("ChangeLog", "w") as changelog_file: changelog_file.write(changelog) |