~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: John Arbash Meinel
  • Date: 2010-01-13 16:23:07 UTC
  • mto: (4634.119.7 2.0)
  • mto: This revision was merged to the branch mainline in revision 4959.
  • Revision ID: john@arbash-meinel.com-20100113162307-0bs82td16gzih827
Update the MANIFEST.in file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    'url':          'http://www.bazaar-vcs.org/',
41
41
    'description':  'Friendly distributed version control system',
42
42
    'license':      'GNU GPL v2',
43
 
    'download_url': 'http://bazaar-vcs.org/Download',
 
43
    'download_url': 'https://launchpad.net/bzr/+download',
44
44
    'long_description': get_long_description(),
45
45
    'classifiers': [
46
46
        'Development Status :: 6 - Mature',
327
327
    # Ensure tbzrlib itself is on sys.path
328
328
    sys.path.append(tbzr_root)
329
329
 
330
 
    # Ensure our COM "entry-point" is on sys.path
331
 
    sys.path.append(os.path.join(tbzr_root, "shellext", "python"))
332
 
 
333
330
    packages.append("tbzrlib")
334
331
 
335
332
    # collect up our icons.
357
354
    excludes.extend("""pywin pywin.dialogs pywin.dialogs.list
358
355
                       win32ui crawler.Crawler""".split())
359
356
 
360
 
    # NOTE: We still create a DLL version of the Python implemented shell
361
 
    # extension for testing purposes - but it is *not* registered by
362
 
    # default - our C++ one is instead.  To discourage people thinking
363
 
    # this DLL is still necessary, its called 'tbzr_old.dll'
364
 
    tbzr = dict(
365
 
        modules=["tbzr"],
366
 
        create_exe = False, # we only want a .dll
367
 
        dest_base = 'tbzr_old',
368
 
    )
369
 
    com_targets.append(tbzr)
370
 
 
371
357
    # tbzrcache executables - a "console" version for debugging and a
372
358
    # GUI version that is generally used.
373
359
    tbzrcache = dict(
398
384
    console_targets.append(tracer)
399
385
 
400
386
    # The C++ implemented shell extensions.
401
 
    dist_dir = os.path.join(tbzr_root, "shellext", "cpp", "tbzrshellext",
402
 
                            "build", "dist")
 
387
    dist_dir = os.path.join(tbzr_root, "shellext", "build")
403
388
    data_files.append(('', [os.path.join(dist_dir, 'tbzrshellext_x86.dll')]))
404
389
    data_files.append(('', [os.path.join(dist_dir, 'tbzrshellext_x64.dll')]))
405
390
 
411
396
    includes.append('sip') # extension module required for Qt.
412
397
    packages.append('pygments') # colorizer for qbzr
413
398
    packages.append('docutils') # html formatting
 
399
    includes.append('win32event')  # for qsubprocess stuff
414
400
    # but we can avoid many Qt4 Dlls.
415
401
    dll_excludes.extend(
416
402
        """QtAssistantClient4.dll QtCLucene4.dll QtDesigner4.dll
635
621
                       'tools/win32/bzr_postinstall.py',
636
622
                       ]
637
623
    gui_targets = []
638
 
    com_targets = []
639
624
    data_files = topics_files + plugins_files
640
625
 
641
626
    if 'qbzr' in plugins:
686
671
    setup(options=options_list,
687
672
          console=console_targets,
688
673
          windows=gui_targets,
689
 
          com_server=com_targets,
690
674
          zipfile='lib/library.zip',
691
675
          data_files=data_files,
692
676
          cmdclass={'install_data': install_data_with_bytecompile},