diff options
author | David Cournapeau <cournape@gmail.com> | 2008-07-31 16:07:04 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-07-31 16:07:04 +0000 |
commit | 343347adc5343b6a817520cb29036ba174a4db96 (patch) | |
tree | 313c516cc8624fc3558feaf40497dcfcc1ed0e73 /numpy/distutils/misc_util.py | |
parent | 76a7161aa8bc7755059b250313778602aa473b6f (diff) | |
download | numpy-343347adc5343b6a817520cb29036ba174a4db96.tar.gz |
Change API for pre/post hooks: they should be able to take arbitrary arguments.
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r-- | numpy/distutils/misc_util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 3a90c8d04..15bced235 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -1188,7 +1188,8 @@ class Configuration(object): """Add a sconscript to configuration. pre_hook and post hook should be sequences of callable, which will be - use before and after executing scons. + use before and after executing scons. The callable should be defined as + callable(*args, **kw). It is ugly, but well, hooks are ugly anyway... sconscript can be None, which can be useful to add only post/pre hooks.""" |