~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-12-17 06:04:47 UTC
  • mfrom: (3119.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20071217060447-sictlq5nibqhpuec
Move material out of User Guide into User Reference (Ian Clatworthy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
PKG_DATA = {# install files from selftest suite
31
31
            'package_data': {'bzrlib': ['doc/api/*.txt',
32
32
                                        'tests/test_patches_data/*',
 
33
                                        'help_topics/en/*.txt',
33
34
                                       ]},
34
35
           }
35
36
 
304
305
    # so we need to explicitly add all package
305
306
    additional_packages.append('email')
306
307
 
 
308
    # text files for help topis
 
309
    import glob
 
310
    text_topics = glob.glob('bzrlib/help_topics/en/*.txt')
 
311
 
307
312
    options_list = {"py2exe": {"packages": BZRLIB['packages'] +
308
313
                                           additional_packages,
309
314
                               "excludes": ["Tkinter", "medusa", "tools"],
314
319
          console=[target,
315
320
                   'tools/win32/bzr_postinstall.py',
316
321
                  ],
317
 
          zipfile='lib/library.zip')
 
322
          zipfile='lib/library.zip',
 
323
          data_files=[('lib/help_topics/en', text_topics)],
 
324
          )
318
325
 
319
326
else:
320
327
    # ad-hoc for easy_install