diff options
| author | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-11-25 10:46:58 +0000 |
|---|---|---|
| committer | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-11-25 10:46:58 +0000 |
| commit | 71c358e69c80cbeb349db94be20a4c8cf2222276 (patch) | |
| tree | d1b01edb17014af89ccbe9e7031824eb114fc417 /setup.py | |
| parent | 9f722a0bcdb987c228f4ebf1e42c904a26d0ef73 (diff) | |
| parent | 07ee9639a105a58b8b212fff607f4e0639d411da (diff) | |
small conflict resolution
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -16,13 +16,14 @@ # License for the specific language governing permissions and limitations # under the License. +import os +import subprocess + from setuptools import setup, find_packages from setuptools.command.sdist import sdist from sphinx.setup_command import BuildDoc -import os -import subprocess - +from nova.utils import parse_mailmap, str_dict_replace class local_BuildDoc(BuildDoc): def run(self): @@ -42,8 +43,9 @@ class local_sdist(sdist): log_cmd = subprocess.Popen(["bzr", "log", "--novalog"], stdout=subprocess.PIPE, env=env) changelog = log_cmd.communicate()[0] + mailmap = parse_mailmap() with open("ChangeLog", "w") as changelog_file: - changelog_file.write(changelog) + changelog_file.write(str_dict_replace(changelog, mailmap)) sdist.run(self) setup(name='nova', |
