summaryrefslogtreecommitdiff
path: root/numpy/lib/setupscons.py
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2008-02-08 10:12:16 +0000
committerJarrod Millman <millman@berkeley.edu>2008-02-08 10:12:16 +0000
commit0b7800b455b3aaf50cb83a224f283e72f1dea951 (patch)
treeaab6281c88fd6bed7c74df03562c197d934edd83 /numpy/lib/setupscons.py
parent964727a2c475a7e48e262efc52b51345f51f2522 (diff)
parentfb3f711f1a1eafb2895a84a80f88814d7fb9a465 (diff)
downloadnumpy-0b7800b455b3aaf50cb83a224f283e72f1dea951.tar.gz
merging David Cournapeau's build_with_scons branch, which adds scons support to numpy.distutils and modifies the configuration of numpy/core
Diffstat (limited to 'numpy/lib/setupscons.py')
-rw-r--r--numpy/lib/setupscons.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/numpy/lib/setupscons.py b/numpy/lib/setupscons.py
new file mode 100644
index 000000000..ab0c304d3
--- /dev/null
+++ b/numpy/lib/setupscons.py
@@ -0,0 +1,16 @@
+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)