~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-05 01:12:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5757.
  • Revision ID: jelmer@samba.org-20110405011215-8g6izwf3uz8v4174
Remove some unnecessary imports, clean up lazy imports.

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