setup: kill pure hack for osutil on Windows for Python 2.4
authorAdrian Buehlmann <adrian@cadifra.com>
Thu, 14 May 2015 11:04:31 +0200
changeset 25072 637a15a8a4c1
parent 25071 8ce36dba70d1
child 25073 c1a9e31bec0f
setup: kill pure hack for osutil on Windows for Python 2.4 see e1fb276d4619
setup.py
--- 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