summaryrefslogtreecommitdiff
path: root/numpy/numarray/setup.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-20 05:38:29 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-20 05:38:29 +0000
commit4f3c3755d9fcbfd9ce0551c19bb893e7ba73db91 (patch)
tree7891a19b4ce42258a039e70dcd0b66c4b3d33bf3 /numpy/numarray/setup.py
parentb89e39810fbe44c01dafd2f04faba2103c6e29b4 (diff)
downloadnumpy-4f3c3755d9fcbfd9ce0551c19bb893e7ba73db91.tar.gz
Add missing setup.py
Diffstat (limited to 'numpy/numarray/setup.py')
-rw-r--r--numpy/numarray/setup.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/numpy/numarray/setup.py b/numpy/numarray/setup.py
new file mode 100644
index 000000000..37571bec1
--- /dev/null
+++ b/numpy/numarray/setup.py
@@ -0,0 +1,19 @@
+
+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('include/numarray/*.h')
+
+ # Configure fftpack_lite
+ config.add_extension('_capi',
+ sources=['_capi.c']
+ )
+
+ return config
+
+if __name__ == '__main__':
+ from numpy.distutils.core import setup
+ setup(**configuration(top_path='').todict())