diff options
author | David Cournapeau <cournape@gmail.com> | 2008-07-09 06:01:49 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-07-09 06:01:49 +0000 |
commit | 15e2c1af93e75907a33b7361fa55ab2473ff50e9 (patch) | |
tree | 94e3a3b821e3981ff11083f02323ca163546f46e /numpy/random/SConscript | |
parent | cced5101daf6624b40999637bbb0996f11e3a691 (diff) | |
download | numpy-15e2c1af93e75907a33b7361fa55ab2473ff50e9.tar.gz |
Use NumpyPythonExtension instead of DistutilsPythonExtension where possible.
Diffstat (limited to 'numpy/random/SConscript')
-rw-r--r-- | numpy/random/SConscript | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/random/SConscript b/numpy/random/SConscript index 5beee13d4..e7f5018bf 100644 --- a/numpy/random/SConscript +++ b/numpy/random/SConscript @@ -2,8 +2,7 @@ # vim:syntax=python import os -from numscons import GetNumpyEnvironment, scons_get_paths, \ - scons_get_mathlib +from numscons import GetNumpyEnvironment, scons_get_mathlib def CheckWincrypt(context): from copy import deepcopy @@ -28,7 +27,6 @@ int main(int argc, char *argv[]) return st[0] env = GetNumpyEnvironment(ARGUMENTS) -env.Append(CPPPATH = scons_get_paths(env['include_bootstrap'])) mlib = scons_get_mathlib(env) env.AppendUnique(LIBS = mlib) @@ -43,4 +41,4 @@ sources = [os.path.join('mtrand', x) for x in ['mtrand.c', 'randomkit.c', 'initarray.c', 'distributions.c']] # XXX: Pyrex dependency -mtrand = env.DistutilsPythonExtension('mtrand', source = sources) +mtrand = env.NumpyPythonExtension('mtrand', source = sources) |