Mercurial > hg-stable
changeset 25072:637a15a8a4c1
setup: kill pure hack for osutil on Windows for Python 2.4
see e1fb276d4619
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Thu, 14 May 2015 11:04:31 +0200 |
parents | 8ce36dba70d1 |
children | c1a9e31bec0f |
files | setup.py |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Thu May 14 11:37:36 2015 +0200 +++ b/setup.py Thu May 14 11:04:31 2015 +0200 @@ -505,13 +505,9 @@ if sys.platform == 'darwin': osutil_ldflags += ['-framework', 'ApplicationServices'] -# disable osutil.c under windows + python 2.4 (issue1364) -if sys.platform == 'win32' and sys.version_info < (2, 5, 0, 'final'): - pymodules.append('mercurial.pure.osutil') -else: - extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'], - extra_link_args=osutil_ldflags, - depends=common_depends)) +extmodules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'], + extra_link_args=osutil_ldflags, + depends=common_depends)) try: from distutils import cygwinccompiler