summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_src.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-04 19:00:27 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-04 19:00:27 +0000
commite706c7d92c4ee41e8e995fb3838bd0931b57efb5 (patch)
tree015a057d49422774e49ed211a37c14105d03a713 /numpy/distutils/command/build_src.py
parentc14d4fe25cb5cd482369734dd487ac8f376851c9 (diff)
downloadnumpy-e706c7d92c4ee41e8e995fb3838bd0931b57efb5.tar.gz
Changed all references to scipy to numpy
Diffstat (limited to 'numpy/distutils/command/build_src.py')
-rw-r--r--numpy/distutils/command/build_src.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/numpy/distutils/command/build_src.py b/numpy/distutils/command/build_src.py
index 65b46d173..84cf88b96 100644
--- a/numpy/distutils/command/build_src.py
+++ b/numpy/distutils/command/build_src.py
@@ -10,13 +10,13 @@ from distutils.command import build_ext, build_py
from distutils.util import convert_path
from distutils.dep_util import newer_group, newer
-from scipy.distutils import log
-from scipy.distutils.misc_util import fortran_ext_match, all_strings, dot_join,\
+from numpy.distutils import log
+from numpy.distutils.misc_util import fortran_ext_match, all_strings, dot_join,\
appendpath
-from scipy.distutils.from_template import process_file as process_f_file
-from scipy.distutils.conv_template import process_file as process_c_file
-from scipy.distutils.extension import Extension
-from scipy.distutils.system_info import get_info, dict_append
+from numpy.distutils.from_template import process_file as process_f_file
+from numpy.distutils.conv_template import process_file as process_c_file
+from numpy.distutils.extension import Extension
+from numpy.distutils.system_info import get_info, dict_append
class build_src(build_ext.build_ext):
@@ -334,7 +334,7 @@ class build_src(build_ext.build_ext):
if (self.force or newer_group(depends, target_file,'newer')) \
and not skip_f2py:
log.info("f2py: %s" % (source))
- import scipy.f2py as f2py2e
+ import numpy.f2py as f2py2e
f2py2e.run_main(f2py_options + ['--build-dir',target_dir,source])
else:
log.debug(" skipping '%s' f2py interface (up-to-date)" % (source))
@@ -349,7 +349,7 @@ class build_src(build_ext.build_ext):
depends = f_sources + extension.depends
if (self.force or newer_group(depends, target_file, 'newer')) \
and not skip_f2py:
- import scipy.f2py as f2py2e
+ import numpy.f2py as f2py2e
log.info("f2py:> %s" % (target_file))
self.mkpath(target_dir)
f2py2e.run_main(f2py_options + ['--lower',
@@ -371,7 +371,7 @@ class build_src(build_ext.build_ext):
extension.include_dirs.append(self.build_src)
if not skip_f2py:
- import scipy.f2py as f2py2e
+ import numpy.f2py as f2py2e
d = os.path.dirname(f2py2e.__file__)
source_c = os.path.join(d,'src','fortranobject.c')
source_h = os.path.join(d,'src','fortranobject.h')