summaryrefslogtreecommitdiff
path: root/numpy/distutils/misc_util.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-07-31 15:18:08 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-07-31 15:18:08 +0000
commit89bd486fe36015751b000ff27ec92ee6cdead116 (patch)
tree1943d27ec3c9b3118aec3cce4cca1098861d67ea /numpy/distutils/misc_util.py
parent33e34091563f318ef373a2e48a05432f38081cef (diff)
downloadnumpy-89bd486fe36015751b000ff27ec92ee6cdead116.tar.gz
Make it possible to execute post/pre hooks in scons command even when no scons script is used.
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r--numpy/distutils/misc_util.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py
index 368390d3c..3f8b5cd42 100644
--- a/numpy/distutils/misc_util.py
+++ b/numpy/distutils/misc_util.py
@@ -1188,7 +1188,10 @@ 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.
+
+ sconscript can be None, which can be useful to add only post/pre
+ hooks."""
if standalone:
parent_name = None
else: