summaryrefslogtreecommitdiff
path: root/numpy/distutils/misc_util.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-05-11 12:50:42 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-05-11 12:50:42 +0000
commitcc7d893022611e0033fa2bea1c790eb39ba5769a (patch)
treefdffded15ae0de851b58b8e6d1c25870d41db689 /numpy/distutils/misc_util.py
parent3757ca12afa8b89e92e16b6814eb1888611b4db0 (diff)
downloadnumpy-cc7d893022611e0033fa2bea1c790eb39ba5769a.tar.gz
Clean up setup() calls.
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r--numpy/distutils/misc_util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py
index 4dfe49d46..e5f26605a 100644
--- a/numpy/distutils/misc_util.py
+++ b/numpy/distutils/misc_util.py
@@ -530,9 +530,10 @@ class Configuration(object):
caller_frame = get_frame(caller_level)
caller_name = eval('__name__',caller_frame.f_globals,caller_frame.f_locals)
self.local_path = get_path(caller_name, top_path)
+ # local_path -- directory of a file (usually setup.py) that
+ # defines a configuration() function.
if top_path is None:
top_path = self.local_path
- self.local_path = '.'
if package_path is None:
package_path = self.local_path
elif os.path.isdir(njoin(self.local_path,package_path)):