~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: INADA Naoki
  • Date: 2011-05-14 09:58:36 UTC
  • mfrom: (5830.2.22 i18n-msgextract)
  • mto: This revision was merged to the branch mainline in revision 5891.
  • Revision ID: songofacandy@gmail.com-20110514095836-38l651fp8bmb4bni
mergeĀ fromĀ i18n-msgextract

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
                                        'tests/ssl_certs/ca.crt',
70
70
                                        'tests/ssl_certs/server_without_pass.key',
71
71
                                        'tests/ssl_certs/server_with_pass.key',
72
 
                                        'tests/ssl_certs/server.crt'
 
72
                                        'tests/ssl_certs/server.crt',
 
73
                                        'locale/*/LC_MESSAGES/*.mo',
73
74
                                       ]},
74
75
           }
75
76
 
152
153
    Generate bzr.1.
153
154
    """
154
155
 
 
156
    sub_commands = build.sub_commands + [
 
157
            ('build_mo', lambda _: True),
 
158
            ]
 
159
 
155
160
    def run(self):
156
161
        build.run(self)
157
162
 
163
168
## Setup
164
169
########################
165
170
 
 
171
from tools.build_mo import build_mo
 
172
 
166
173
command_classes = {'install_scripts': my_install_scripts,
167
 
                   'build': bzr_build}
 
174
                   'build': bzr_build,
 
175
                   'build_mo': build_mo,
 
176
                   }
168
177
from distutils import log
169
178
from distutils.errors import CCompilerError, DistutilsPlatformError
170
179
from distutils.extension import Extension