/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

Help topics can now be loaded from files (based on Ian's patch, adapted to proper support various windows installers).

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/*.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/*.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', text_topics)],
 
324
          )
318
325
 
319
326
else:
320
327
    # ad-hoc for easy_install