summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/scons.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-07-31 16:30:44 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-07-31 16:30:44 +0000
commit23e03f2d320c1303a8fb199bc1f090a5b372f929 (patch)
treef08ae6dbe636388fb601d22564cd530de6cc9f9a /numpy/distutils/command/scons.py
parent343347adc5343b6a817520cb29036ba174a4db96 (diff)
downloadnumpy-23e03f2d320c1303a8fb199bc1f090a5b372f929.tar.gz
Pass current package name and scons command instance to post hook.
Diffstat (limited to 'numpy/distutils/command/scons.py')
-rw-r--r--numpy/distutils/command/scons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/scons.py b/numpy/distutils/command/scons.py
index 7154b1235..898e013e0 100644
--- a/numpy/distutils/command/scons.py
+++ b/numpy/distutils/command/scons.py
@@ -454,4 +454,4 @@ class scons(old_build_ext):
output, for example --log-level=0; the lowest, the more detailed"""
raise DistutilsExecError(msg)
if post_hook:
- post_hook()
+ post_hook(**{'pkg_name': pkg_name, 'scons_cmd' : self})