From df259db01ecf69d518fffd398dd6fb5cf60f1ba1 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 13 Jan 2013 10:04:44 -0700 Subject: DEP: Remove scons related files and code. This removes files and code supporting scons builds. After this change numpy will only support builds using distutils or bento. The removal of scons has been discussed on the list several times and a decision has been made that scons support is no longer needed. This was originally discussed for numpy 1.7 and because the distutils and bento methods are still available we are skipping the usual deprecation period. --- numpy/lib/SConscript | 7 ------- numpy/lib/SConstruct | 2 -- numpy/lib/setupscons.py | 16 ---------------- 3 files changed, 25 deletions(-) delete mode 100644 numpy/lib/SConscript delete mode 100644 numpy/lib/SConstruct delete mode 100644 numpy/lib/setupscons.py (limited to 'numpy/lib') diff --git a/numpy/lib/SConscript b/numpy/lib/SConscript deleted file mode 100644 index 2d1ed5576..000000000 --- a/numpy/lib/SConscript +++ /dev/null @@ -1,7 +0,0 @@ -# Last Change: Thu Jun 12 06:00 PM 2008 J -# vim:syntax=python -from numscons import GetNumpyEnvironment - -env = GetNumpyEnvironment(ARGUMENTS) -env.Prepend(CPPPATH=["#$build_prefix/numpy/core/src/private"]) -env.NumpyPythonExtension('_compiled_base', source = ['src/_compiled_base.c']) diff --git a/numpy/lib/SConstruct b/numpy/lib/SConstruct deleted file mode 100644 index a377d8391..000000000 --- a/numpy/lib/SConstruct +++ /dev/null @@ -1,2 +0,0 @@ -from numscons import GetInitEnvironment -GetInitEnvironment(ARGUMENTS).DistutilsSConscript('SConscript') diff --git a/numpy/lib/setupscons.py b/numpy/lib/setupscons.py deleted file mode 100644 index 4f31f6e8a..000000000 --- a/numpy/lib/setupscons.py +++ /dev/null @@ -1,16 +0,0 @@ -from os.path import join - -def configuration(parent_package='',top_path=None): - from numpy.distutils.misc_util import Configuration - - config = Configuration('lib',parent_package,top_path) - - config.add_sconscript('SConstruct', - source_files = [join('src', '_compiled_base.c')]) - config.add_data_dir('tests') - - return config - -if __name__=='__main__': - from numpy.distutils.core import setup - setup(configuration=configuration) -- cgit v1.2.1