~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

- merge improvements to python-based installer
- don't restrict python-based installer to python 2.4 only because 2.5 is coming

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
########################
131
131
 
132
132
if 'bdist_wininst' in sys.argv:
 
133
    import glob
 
134
    # doc files
 
135
    docs = glob.glob('doc/*.htm') + ['doc/default.css']
133
136
    # python's distutils-based win32 installer
134
137
    ARGS = {'scripts': ['bzr', 'tools/win32/bzr-win32-bdist-postinstall.py'],
135
138
            # install the txt files from bzrlib.doc.api.
136
139
            'package_data': {'bzrlib': ['doc/api/*.txt']},
 
140
            # help pages
 
141
            'data_files': [('Doc/Bazaar-NG', docs)],
137
142
           }
138
143
 
139
144
    ARGS.update(META_INFO)