diff options
author | David Cournapeau <cournape@gmail.com> | 2008-01-06 12:11:48 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-01-06 12:11:48 +0000 |
commit | caca466400feb312ce937c58d1f8ea69f1872135 (patch) | |
tree | 9ad598451d1445202fba8968817689f073d8d362 /numpy/distutils | |
parent | e1eac742d946641e86cc9cde1602034cfa3d77cc (diff) | |
download | numpy-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.py | 9 |
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.""" |