diff options
author | David Cournapeau <cournape@gmail.com> | 2008-01-07 02:47:36 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-01-07 02:47:36 +0000 |
commit | fe79167897082d0b680b05118425dbe62e4bf3f9 (patch) | |
tree | 3378f99ed9d91a4e33a1d3d8469bec2af9e03799 /numpy/lib/setupscons.py | |
parent | f7f3de7be2448d57111bd9c47d46253f6a0e5d3d (diff) | |
download | numpy-fe79167897082d0b680b05118425dbe62e4bf3f9.tar.gz |
numpy.lib now builds with scons
Diffstat (limited to 'numpy/lib/setupscons.py')
-rw-r--r-- | numpy/lib/setupscons.py | 16 |
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) |