~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-16 18:38:57 UTC
  • mfrom: (1934 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1937.
  • Revision ID: john@arbash-meinel.com-20060816183857-7307edffa7098bd2
[merge] bzr.dev 1934

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
BZRLIB = {'packages': ['bzrlib',
24
24
                       'bzrlib.benchmarks',
 
25
                       'bzrlib.benchmarks.tree_creator',
25
26
                       'bzrlib.bundle',
26
27
                       'bzrlib.bundle.serializer',
27
28
                       'bzrlib.doc',
53
54
                      ],
54
55
         }
55
56
 
 
57
PKG_DATA = {# install files from selftest suite
 
58
            'package_data': {'bzrlib': ['doc/api/*.txt',
 
59
                                        'tests/test_patches_data/*',
 
60
                                       ]},
 
61
           }
56
62
 
57
63
######################################################################
58
64
# Reinvocation stolen from bzr, we need python2.4 by virtue of bzr_man
155
161
    docs = glob.glob('doc/*.htm') + ['doc/default.css']
156
162
    # python's distutils-based win32 installer
157
163
    ARGS = {'scripts': ['bzr', 'tools/win32/bzr-win32-bdist-postinstall.py'],
158
 
            # install the txt files from bzrlib.doc.api.
159
 
            'package_data': {'bzrlib': ['doc/api/*.txt']},
160
164
            # help pages
161
165
            'data_files': [('Doc/Bazaar', docs)],
162
166
           }
163
167
 
164
168
    ARGS.update(META_INFO)
165
169
    ARGS.update(BZRLIB)
 
170
    ARGS.update(PKG_DATA)
166
171
    
167
172
    setup(**ARGS)
168
173
 
209
214
    # std setup
210
215
    ARGS = {'scripts': ['bzr'],
211
216
            'data_files': [('man/man1', ['bzr.1'])],
212
 
            # install the txt files from bzrlib.doc.api.
213
 
            'package_data': {'bzrlib': ['doc/api/*.txt']},
214
217
            'cmdclass': {'build': bzr_build,
215
218
                         'install_scripts': my_install_scripts,
216
219
                        },
218
221
    
219
222
    ARGS.update(META_INFO)
220
223
    ARGS.update(BZRLIB)
 
224
    ARGS.update(PKG_DATA)
221
225
 
222
226
    setup(**ARGS)