summaryrefslogtreecommitdiff
path: root/numpy/distutils
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-01-06 12:11:48 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-01-06 12:11:48 +0000
commitcaca466400feb312ce937c58d1f8ea69f1872135 (patch)
tree9ad598451d1445202fba8968817689f073d8d362 /numpy/distutils
parente1eac742d946641e86cc9cde1602034cfa3d77cc (diff)
downloadnumpy-caca466400feb312ce937c58d1f8ea69f1872135.tar.gz
Define various scons related functions to call numscons instead of being
defined directly in numpy, for bootstrapping issues.
Diffstat (limited to 'numpy/distutils')
-rw-r--r--numpy/distutils/command/scons.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/numpy/distutils/command/scons.py b/numpy/distutils/command/scons.py
index 98b4ac135..e98e4bf85 100644
--- a/numpy/distutils/command/scons.py
+++ b/numpy/distutils/command/scons.py
@@ -16,19 +16,22 @@ def get_scons_build_dir():
"""Return the top path where everything produced by scons will be put.
The path is relative to the top setup.py"""
- return os.path.join('build', 'scons')
+ from numscons import get_scons_build_dir
+ return get_scons_build_dir()
def get_scons_configres_dir():
"""Return the top path where everything produced by scons will be put.
The path is relative to the top setup.py"""
- return os.path.join('build', 'scons-configres')
+ from numscons import get_scons_configres_dir
+ return get_scons_configres_dir()
def get_scons_configres_filename():
"""Return the top path where everything produced by scons will be put.
The path is relative to the top setup.py"""
- return '__configres.py'
+ from numscons import get_scons_configres_filename
+ return get_scons_configres_filename()
def get_scons_local_path():
"""This returns the full path where scons.py for scons-local is located."""