diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-04 17:47:13 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-04 17:47:13 +0000 |
commit | c14d4fe25cb5cd482369734dd487ac8f376851c9 (patch) | |
tree | ebd088e5ccb2ca8162b53f1c443c6de303e9abe7 /numpy/lib/setup.py | |
parent | 3496a3cda8ea70253a76ed17c0af261f2d645fe2 (diff) | |
download | numpy-c14d4fe25cb5cd482369734dd487ac8f376851c9.tar.gz |
Change most setup.py files
Diffstat (limited to 'numpy/lib/setup.py')
-rw-r--r-- | numpy/lib/setup.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/numpy/lib/setup.py b/numpy/lib/setup.py new file mode 100644 index 000000000..7e3eeb030 --- /dev/null +++ b/numpy/lib/setup.py @@ -0,0 +1,31 @@ + +import imp +import os +from os.path import join +from glob import glob +from distutils.dep_util import newer,newer_group + +def configuration(parent_package='',top_path=None): + from numpy.distutils.misc_util import Configuration,dot_join + from numpy.distutils.system_info import get_info + + config = Configuration('lib',parent_package,top_path) + local_dir = config.local_path + + config.add_include_dirs(join('..','core','include')) + + + config.add_extension('_compiled_base', + sources=[join('src','_compiled_base.c'), + generate_config_h, + generate_array_api, + ], + ) + + config.add_data_dir('tests') + + return config + +if __name__=='__main__': + from numpy.distutils.core import setup + setup(**configuration(top_path='').todict()) |