Show More
@@ -221,9 +221,13 b' class hgbuildmo(build):' | |||||
221 | # when build_py is run next. |
|
221 | # when build_py is run next. | |
222 | build.sub_commands.insert(0, ('build_mo', None)) |
|
222 | build.sub_commands.insert(0, ('build_mo', None)) | |
223 |
|
223 | |||
224 | Distribution.pure = 0 |
|
224 | class hgdist(Distribution): | |
225 | Distribution.global_options.append(('pure', None, "use pure (slow) Python " |
|
225 | pure = 0 | |
226 | "code instead of C extensions")) |
|
226 | ||
|
227 | global_options = Distribution.global_options + \ | |||
|
228 | [('pure', None, "use pure (slow) Python " | |||
|
229 | "code instead of C extensions"), | |||
|
230 | ] | |||
227 |
|
231 | |||
228 | class hgbuildext(build_ext): |
|
232 | class hgbuildext(build_ext): | |
229 |
|
233 | |||
@@ -435,6 +439,7 b" setup(name='mercurial'," | |||||
435 | data_files=datafiles, |
|
439 | data_files=datafiles, | |
436 | package_data=packagedata, |
|
440 | package_data=packagedata, | |
437 | cmdclass=cmdclass, |
|
441 | cmdclass=cmdclass, | |
|
442 | distclass=hgdist, | |||
438 | options=dict(py2exe=dict(packages=['hgext', 'email']), |
|
443 | options=dict(py2exe=dict(packages=['hgext', 'email']), | |
439 | bdist_mpkg=dict(zipdist=True, |
|
444 | bdist_mpkg=dict(zipdist=True, | |
440 | license='COPYING', |
|
445 | license='COPYING', |
General Comments 0
You need to be logged in to leave comments.
Login now