/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2009-10-19 18:16:56 UTC
  • mfrom: (4757 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4833.
  • Revision ID: jelmer@samba.org-20091019181656-b1gy3j0a2u7h2gcv
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
 
271
271
add_pyrex_extension('bzrlib._annotator_pyx')
272
272
add_pyrex_extension('bzrlib._bencode_pyx')
273
 
add_pyrex_extension('bzrlib._btree_serializer_pyx')
274
273
add_pyrex_extension('bzrlib._chunks_to_lines_pyx')
275
274
add_pyrex_extension('bzrlib._groupcompress_pyx',
276
275
                    extra_source=['bzrlib/diff-delta.c'])
300
299
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=[z_lib])
301
300
ext_modules.append(Extension('bzrlib._patiencediff_c',
302
301
                             ['bzrlib/_patiencediff_c.c']))
 
302
add_pyrex_extension('bzrlib._simple_set_pyx')
 
303
ext_modules.append(Extension('bzrlib._static_tuple_c',
 
304
                             ['bzrlib/_static_tuple_c.c']))
 
305
add_pyrex_extension('bzrlib._btree_serializer_pyx')
303
306
 
304
307
 
305
308
if unavailable_files:
332
335
    # Ensure tbzrlib itself is on sys.path
333
336
    sys.path.append(tbzr_root)
334
337
 
335
 
    # Ensure our COM "entry-point" is on sys.path
336
 
    sys.path.append(os.path.join(tbzr_root, "shellext", "python"))
337
 
 
338
338
    packages.append("tbzrlib")
339
339
 
340
340
    # collect up our icons.
362
362
    excludes.extend("""pywin pywin.dialogs pywin.dialogs.list
363
363
                       win32ui crawler.Crawler""".split())
364
364
 
365
 
    # NOTE: We still create a DLL version of the Python implemented shell
366
 
    # extension for testing purposes - but it is *not* registered by
367
 
    # default - our C++ one is instead.  To discourage people thinking
368
 
    # this DLL is still necessary, its called 'tbzr_old.dll'
369
 
    tbzr = dict(
370
 
        modules=["tbzr"],
371
 
        create_exe = False, # we only want a .dll
372
 
        dest_base = 'tbzr_old',
373
 
    )
374
 
    com_targets.append(tbzr)
375
 
 
376
365
    # tbzrcache executables - a "console" version for debugging and a
377
366
    # GUI version that is generally used.
378
367
    tbzrcache = dict(
403
392
    console_targets.append(tracer)
404
393
 
405
394
    # The C++ implemented shell extensions.
406
 
    dist_dir = os.path.join(tbzr_root, "shellext", "cpp", "tbzrshellext",
407
 
                            "build", "dist")
 
395
    dist_dir = os.path.join(tbzr_root, "shellext", "build")
408
396
    data_files.append(('', [os.path.join(dist_dir, 'tbzrshellext_x86.dll')]))
409
397
    data_files.append(('', [os.path.join(dist_dir, 'tbzrshellext_x64.dll')]))
410
398
 
641
629
                       'tools/win32/bzr_postinstall.py',
642
630
                       ]
643
631
    gui_targets = []
644
 
    com_targets = []
645
632
    data_files = topics_files + plugins_files
646
633
 
647
634
    if 'qbzr' in plugins:
692
679
    setup(options=options_list,
693
680
          console=console_targets,
694
681
          windows=gui_targets,
695
 
          com_server=com_targets,
696
682
          zipfile='lib/library.zip',
697
683
          data_files=data_files,
698
684
          cmdclass={'install_data': install_data_with_bytecompile},