Skip to content

Commit

Permalink
Adapt numpy.numarray to new build dir convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Jun 12, 2008
1 parent be47c6f commit fd5f2dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 9 additions & 0 deletions numpy/numarray/SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Last Change: Thu Jun 12 06:00 PM 2008 J
# vim:syntax=python
from numscons import GetNumpyEnvironment, scons_get_paths

env = GetNumpyEnvironment(ARGUMENTS)
env.Append(CPPPATH = scons_get_paths(env['include_bootstrap']))
env.Append(CPPPATH = ['numpy'])

_capi = env.DistutilsPythonExtension('_capi', source = ['_capi.c'])
11 changes: 2 additions & 9 deletions numpy/numarray/SConstruct
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# Last Change: Tue May 20 05:00 PM 2008 J
# vim:syntax=python
from numscons import GetNumpyEnvironment, scons_get_paths

env = GetNumpyEnvironment(ARGUMENTS)
env.Append(CPPPATH = scons_get_paths(env['include_bootstrap']))
env.Append(CPPPATH = env['src_dir'])

_capi = env.NumpyPythonExtension('_capi', source = ['_capi.c'])
from numscons import GetInitEnvironment
GetInitEnvironment(ARGUMENTS).DistutilsSConscript('SConscript')

0 comments on commit fd5f2dc

Please sign in to comment.