Mercurial > public > mercurial-scm > hg-stable
comparison setup.py @ 15273:384082750f2c stable 2.0-rc
merge default into stable for 2.0 code freeze
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 15 Oct 2011 14:30:50 -0500 |
parents | c41078b9d0b8 |
children | b357a972d6cd |
comparison
equal
deleted
inserted
replaced
15191:fccd350acf79 | 15273:384082750f2c |
---|---|
3 # | 3 # |
4 # 'python setup.py install', or | 4 # 'python setup.py install', or |
5 # 'python setup.py --help' for more options | 5 # 'python setup.py --help' for more options |
6 | 6 |
7 import sys, platform | 7 import sys, platform |
8 if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'): | 8 if getattr(sys, 'version_info', (0, 0, 0)) < (2, 4, 0, 'final'): |
9 raise SystemExit("Mercurial requires Python 2.4 or later.") | 9 raise SystemExit("Mercurial requires Python 2.4 or later.") |
10 | 10 |
11 if sys.version_info[0] >= 3: | 11 if sys.version_info[0] >= 3: |
12 def b(s): | 12 def b(s): |
13 '''A helper function to emulate 2.6+ bytes literals using string | 13 '''A helper function to emulate 2.6+ bytes literals using string |
340 'build_hgextindex': buildhgextindex, | 340 'build_hgextindex': buildhgextindex, |
341 'install_scripts': hginstallscripts} | 341 'install_scripts': hginstallscripts} |
342 | 342 |
343 packages = ['mercurial', 'mercurial.hgweb', | 343 packages = ['mercurial', 'mercurial.hgweb', |
344 'mercurial.httpclient', 'mercurial.httpclient.tests', | 344 'mercurial.httpclient', 'mercurial.httpclient.tests', |
345 'hgext', 'hgext.convert', 'hgext.highlight', 'hgext.zeroconf'] | 345 'hgext', 'hgext.convert', 'hgext.highlight', 'hgext.zeroconf', |
346 'hgext.largefiles'] | |
346 | 347 |
347 pymodules = [] | 348 pymodules = [] |
348 | 349 |
349 extmodules = [ | 350 extmodules = [ |
350 Extension('mercurial.base85', ['mercurial/base85.c']), | 351 Extension('mercurial.base85', ['mercurial/base85.c']), |