~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Alexander Belchenko
  • Date: 2007-07-03 17:07:29 UTC
  • mto: This revision was merged to the branch mainline in revision 2582.
  • Revision ID: bialix@ukr.net-20070703170729-kwz1skah3o0yp7nx
Building Python-based installer for bot Python 2.4 and 2.5
(important for pyrex/C extensions)

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
########################
149
149
 
150
150
command_classes = {'install_scripts': my_install_scripts,
151
 
                  'build': bzr_build}
 
151
                   'build': bzr_build}
152
152
ext_modules = []
153
153
try:
154
154
    from Pyrex.Distutils import build_ext
173
173
    dev_docs = glob.glob('doc/developers/*.htm')
174
174
    # python's distutils-based win32 installer
175
175
    ARGS = {'scripts': ['bzr', 'tools/win32/bzr-win32-bdist-postinstall.py'],
 
176
            'ext_modules': ext_modules,
176
177
            # help pages
177
178
            'data_files': [('Doc/Bazaar', docs),
178
179
                           ('Doc/Bazaar/developers', dev_docs),
179
180
                          ],
 
181
            # for building pyrex extensions
 
182
            'cmdclass': {'build_ext': build_ext},
180
183
           }
181
184
 
182
185
    ARGS.update(META_INFO)