summaryrefslogtreecommitdiff
path: root/numpy/distutils/command
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-10-15 23:12:20 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-10-15 23:12:20 +0200
commit03f0aebf1a43c672f17e89382804809601828111 (patch)
tree54dff27e6027271b4c521e7154a48baceae27be7 /numpy/distutils/command
parentaa8a2437b700ce9a8c3e12652b75982e96a3777c (diff)
downloadnumpy-03f0aebf1a43c672f17e89382804809601828111.tar.gz
MAINT: remove obsolete version checks
minimum requirement is python2.6, this allows removing a couple 2.3 and 2.4 checks.
Diffstat (limited to 'numpy/distutils/command')
-rw-r--r--numpy/distutils/command/build_ext.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index b48e4227a..68aab21eb 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -407,11 +407,6 @@ class build_ext (old_build_ext):
if ext.language=='c++' and cxx_compiler is not None:
linker = cxx_compiler.link_shared_object
- if sys.version[:3]>='2.3':
- kws = {'target_lang':ext.language}
- else:
- kws = {}
-
linker(objects, ext_filename,
libraries=libraries,
library_dirs=library_dirs,
@@ -419,7 +414,8 @@ class build_ext (old_build_ext):
extra_postargs=extra_args,
export_symbols=self.get_export_symbols(ext),
debug=self.debug,
- build_temp=self.build_temp,**kws)
+ build_temp=self.build_temp,
+ target_lang=ext.language)
def _add_dummy_mingwex_sym(self, c_sources):
build_src = self.get_finalized_command("build_src").build_src