summaryrefslogtreecommitdiff
path: root/numpy/numarray/setupscons.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-01-07 02:46:49 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-01-07 02:46:49 +0000
commitf7f3de7be2448d57111bd9c47d46253f6a0e5d3d (patch)
treefc95c6f511367b0c639cbaac60b37b50443fcb3c /numpy/numarray/setupscons.py
parent2bcb222f37f7c4912ee6e5f99c75e25beceb7de7 (diff)
downloadnumpy-f7f3de7be2448d57111bd9c47d46253f6a0e5d3d.tar.gz
numarray now builds with scons
Diffstat (limited to 'numpy/numarray/setupscons.py')
-rw-r--r--numpy/numarray/setupscons.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/numpy/numarray/setupscons.py b/numpy/numarray/setupscons.py
new file mode 100644
index 000000000..37d53a8ef
--- /dev/null
+++ b/numpy/numarray/setupscons.py
@@ -0,0 +1,14 @@
+from os.path import join
+
+def configuration(parent_package='',top_path=None):
+ from numpy.distutils.misc_util import Configuration
+ config = Configuration('numarray',parent_package,top_path)
+
+ config.add_data_files('numpy/')
+ config.add_sconscript('SConstruct', source_files = ['_capi.c'])
+
+ return config
+
+if __name__ == '__main__':
+ from numpy.distutils.core import setup
+ setup(configuration=configuration)