~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

merge with bzr.dev and put the NEWS entry in the IN DEVELOPMENT section

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        except DistutilsPlatformError, e:
198
198
            if not self.allow_python_fallback:
199
199
                log.warn('\n  Cannot build extensions.\n'
200
 
                         '  Use --allow-python-fallback to use slower'
201
 
                         ' python implementations instead.\n')
 
200
                         '  Use "build_ext --allow-python-fallback" to use'
 
201
                         ' slower python implementations instead.\n')
202
202
                raise
203
203
            log.warn(str(e))
204
204
            log.warn('\n  Extensions cannot be built.\n'
209
209
            build_ext.build_extension(self, ext)
210
210
        except CCompilerError:
211
211
            if not self.allow_python_fallback:
212
 
                log.warn('\n  Failed to build "%s".\n'
213
 
                         '  Use --allow-python-fallback to use slower'
214
 
                         ' python implementations instead.\n'
 
212
                log.warn('\n  Cannot build extensions.\n'
 
213
                         '  Use "build_ext --allow-python-fallback" to use'
 
214
                         ' slower python implementations instead.\n'
215
215
                         % (ext.name,))
216
216
                raise
217
217
            log.warn('\n  Building of "%s" extension failed.\n'
408
408
        os.environ["PATH"] = path + os.pathsep + qt_dir
409
409
 
410
410
 
 
411
def get_svn_py2exe_info(includes, excludes, packages):
 
412
    packages.append('subvertpy')
 
413
 
 
414
 
411
415
if 'bdist_wininst' in sys.argv:
412
416
    def find_docs():
413
417
        docs = []
586
590
    if 'qbzr' in plugins:
587
591
        get_qbzr_py2exe_info(includes, excludes, packages)
588
592
 
 
593
    if 'svn' in plugins:
 
594
        get_svn_py2exe_info(includes, excludes, packages)
 
595
 
589
596
    if "TBZR" in os.environ:
590
597
        # TORTOISE_OVERLAYS_MSI_WIN32 must be set to the location of the
591
598
        # TortoiseOverlays MSI installer file. It is in the TSVN svn repo and