~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/build_mo.py

  • Committer: INADA Naoki
  • Date: 2011-05-25 03:37:36 UTC
  • mto: This revision was merged to the branch mainline in revision 5922.
  • Revision ID: songofacandy@gmail.com-20110525033736-q0094pc84csf7m97
Don't register build_mo to distutil's build class. The bzr's setup uses own bzr_build class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
"""build_mo command for setup.py"""
24
24
 
25
25
from distutils import log
26
 
from distutils.command.build import build
27
26
from distutils.core import Command
28
27
from distutils.dep_util import newer
29
28
from distutils.spawn import find_executable
117
116
                self.spawn(['msgfmt', '-o', mo, po])
118
117
 
119
118
 
120
 
build.sub_commands.insert(0, ('build_mo', None))