summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-07-31 16:03:32 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-07-31 16:03:32 +0000
commit76a7161aa8bc7755059b250313778602aa473b6f (patch)
tree730ceae17ebabe92f1b35f04adfb79623ba446f9
parent89bd486fe36015751b000ff27ec92ee6cdead116 (diff)
downloadnumpy-76a7161aa8bc7755059b250313778602aa473b6f.tar.gz
Remove add_configres function which did nothing...
-rw-r--r--numpy/core/setupscons.py1
-rw-r--r--numpy/distutils/misc_util.py5
-rw-r--r--numpy/linalg/setupscons.py3
3 files changed, 1 insertions, 8 deletions
diff --git a/numpy/core/setupscons.py b/numpy/core/setupscons.py
index 83a014e6a..79d3f6b4c 100644
--- a/numpy/core/setupscons.py
+++ b/numpy/core/setupscons.py
@@ -81,7 +81,6 @@ def configuration(parent_package='',top_path=None):
add_numpyconfig_header()
add_array_api()
add_ufunc_api()
- config.add_configres()
config.add_sconscript('SConstruct',
post_hook = add_generated_files,
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py
index 3f8b5cd42..3a90c8d04 100644
--- a/numpy/distutils/misc_util.py
+++ b/numpy/distutils/misc_util.py
@@ -1229,11 +1229,6 @@ class Configuration(object):
# options in distutils command.
self.add_extension('', sources = [])
- def add_configres(self):
- from numscons import get_scons_configres_dir, get_scons_configres_filename
- file = os.path.join(get_scons_configres_dir(), self.local_path,
- get_scons_configres_filename())
-
def add_scripts(self,*files):
"""Add scripts to configuration.
"""
diff --git a/numpy/linalg/setupscons.py b/numpy/linalg/setupscons.py
index 0cf22dd4f..fd05ce9af 100644
--- a/numpy/linalg/setupscons.py
+++ b/numpy/linalg/setupscons.py
@@ -10,8 +10,7 @@ def configuration(parent_package='',top_path=None):
source_files = ['lapack_litemodule.c',
'zlapack_lite.c', 'dlapack_lite.c',
'blas_lite.c', 'dlamch.c',
- 'f2c_lite.c','f2c.h'],
- post_hook = config.add_configres)
+ 'f2c_lite.c','f2c.h'])
return config