diff options
author | David Cournapeau <cournape@gmail.com> | 2008-01-06 10:43:05 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-01-06 10:43:05 +0000 |
commit | 73269feb65bcdf01d8ed639935b4ef68ad669066 (patch) | |
tree | 785ba3b98920c461cae7566c6a4e9d3c8944c5db | |
parent | 077fb8e888208d492248167082863f257198949f (diff) | |
download | numpy-73269feb65bcdf01d8ed639935b4ef68ad669066.tar.gz |
Add scons_make_config function to numpy distutils Configuration.
-rw-r--r-- | numpy/distutils/misc_util.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 9f99d55b5..298d9b193 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -1441,6 +1441,12 @@ class Configuration(object): """ self.py_modules.append((self.name,name,generate_config_py)) + def scons_make_config_py(self, name = '__config__'): + """Generate package __config__.py file containing system_info + information used during building the package. + """ + self.py_modules.append((self.name, name, scons_generate_config_py)) + def get_info(self,*names): """Get resources information. """ |