Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

REF: update to new bento API.

  • Loading branch information...
commit a5b366e3126f7d65cd4f51f20c81bd6d0b8081d0 1 parent ebd9038
@cournape cournape authored
View
4 scipy/fftpack/bscript
@@ -2,7 +2,7 @@ from bento.commands import hooks
@hooks.pre_build
def pbuild(context):
- context.tweak_builder("_fftpack", features="c cshlib bento f2py pyext",
+ context.tweak_extension("_fftpack", features="c cshlib bento f2py pyext",
includes="src", use="dfftpack fftpack CLIB")
- context.tweak_builder("convolve", features="c cshlib bento f2py pyext",
+ context.tweak_extension("convolve", features="c cshlib bento f2py pyext",
includes="src", use="dfftpack fftpack CLIB")
View
8 scipy/integrate/bscript
@@ -2,8 +2,8 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
- context.tweak_builder("_quadpack", use="quadpack linpack_lite mach FBLAS CLIB")
- context.tweak_builder("_odepack", use="odepack linpack_lite mach FBLAS CLIB")
- context.tweak_builder("vode", features="c cshlib pyext bento f2py",
+ context.tweak_extension("_quadpack", use="quadpack linpack_lite mach FBLAS CLIB")
+ context.tweak_extension("_odepack", use="odepack linpack_lite mach FBLAS CLIB")
+ context.tweak_extension("vode", features="c cshlib pyext bento f2py",
use="odepack linpack_lite mach FBLAS CLIB")
- context.tweak_builder("_dop", features="c fc cshlib pyext bento f2py", use="dop FBLAS CLIB")
+ context.tweak_extension("_dop", features="c fc cshlib pyext bento f2py", use="dop FBLAS CLIB")
View
8 scipy/interpolate/bscript
@@ -2,7 +2,7 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
- context.tweak_builder("_fitpack", use="fitpack FBLAS CLIB", features="c fc cshlib pyext bento f2py")
- context.tweak_builder("interpnd", use="FBLAS CLIB", features="c fc cshlib pyext bento f2py")
- context.tweak_builder("dfitpack", use="fitpack FBLAS CLIB", features="c fc cshlib pyext bento f2py")
- context.tweak_builder("_interpolate", use="FBLAS CLIB", features="cxx cxxshlib fc pyext bento")
+ context.tweak_extension("_fitpack", use="fitpack FBLAS CLIB", features="c fc cshlib pyext bento f2py")
+ context.tweak_extension("interpnd", use="FBLAS CLIB", features="c fc cshlib pyext bento f2py")
+ context.tweak_extension("dfitpack", use="fitpack FBLAS CLIB", features="c fc cshlib pyext bento f2py")
+ context.tweak_extension("_interpolate", use="FBLAS CLIB", features="cxx cxxshlib fc pyext bento")
View
4 scipy/lib/lapack/bscript
@@ -4,7 +4,7 @@ from bento.commands import hooks
def pre_build(context):
default_builder = context.default_builder
- context.tweak_builder("flapack", features="c fc pyext bento cshlib f2py",
+ context.tweak_extension("flapack", features="c fc pyext bento cshlib f2py",
use="FLAPACK")
def clapack_builder(extension):
@@ -16,7 +16,7 @@ def pre_build(context):
return default_builder(extension, **kw)
context.register_builder("clapack", clapack_builder)
- context.tweak_builder("calc_lwork",
+ context.tweak_extension("calc_lwork",
features="c fc pyext bento cshlib f2py f2py_fortran",
use="FLAPACK CLIB")
context.disable_extension("atlas_version")
View
8 scipy/linalg/bscript
@@ -27,7 +27,7 @@ def pre_build(context):
return t
context.register_builder("cblas", cblas_builder)
- context.tweak_builder("flapack", features="c fc pyext bento cshlib f2py",
+ context.tweak_extension("flapack", features="c fc pyext bento cshlib f2py",
use="FLAPACK CLIB")
def builder(extension):
@@ -44,9 +44,9 @@ def pre_build(context):
return t
context.register_builder("clapack", builder)
- context.tweak_builder("_flinalg", features="c fc pyext bento cshlib f2py f2py_fortran",
+ context.tweak_extension("_flinalg", features="c fc pyext bento cshlib f2py f2py_fortran",
use="FLAPACK CLIB")
- context.tweak_builder("calc_lwork", features="c fc pyext bento cshlib f2py f2py_fortran",
+ context.tweak_extension("calc_lwork", features="c fc pyext bento cshlib f2py f2py_fortran",
use="FLAPACK CLIB")
defines = []
@@ -54,4 +54,4 @@ def pre_build(context):
raise NotImplementedError("Atlas not implemented yet")
else:
defines.append("NO_ATLAS_INFO=1")
- context.tweak_builder("atlas_version", defines=defines)
+ context.tweak_extension("atlas_version", defines=defines)
View
2  scipy/odr/bscript
@@ -2,6 +2,6 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
- context.tweak_builder("__odrpack",
+ context.tweak_extension("__odrpack",
features="c fc pyext bento cshlib",
use="odrpack FBLAS CLIB")
View
16 scipy/optimize/bscript
@@ -6,12 +6,12 @@ def pre_build(context):
f2py_features = "c fc pyext bento cshlib f2py"
use = "minpack rootfind FLAPACK CLIB"
- context.tweak_builder("_lbfgsb", features=f2py_features, use=use)
- context.tweak_builder("_cobyla", features=f2py_features, use=use)
- context.tweak_builder("minpack2", features=f2py_features, use=use)
- context.tweak_builder("_nnls", features=f2py_features, use=use)
- context.tweak_builder("_slsqp", features=f2py_features, use=use)
+ context.tweak_extension("_lbfgsb", features=f2py_features, use=use)
+ context.tweak_extension("_cobyla", features=f2py_features, use=use)
+ context.tweak_extension("minpack2", features=f2py_features, use=use)
+ context.tweak_extension("_nnls", features=f2py_features, use=use)
+ context.tweak_extension("_slsqp", features=f2py_features, use=use)
- context.tweak_builder("_zeros", features=features, use=use)
- context.tweak_builder("_minpack", features=features, use=use)
- context.tweak_builder("moduleTNC", features=features, use=use)
+ context.tweak_extension("_zeros", features=features, use=use)
+ context.tweak_extension("_minpack", features=features, use=use)
+ context.tweak_extension("moduleTNC", features=features, use=use)
View
2  scipy/signal/bscript
@@ -2,4 +2,4 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
- context.tweak_builder("sigtools", includes=".")
+ context.tweak_extension("sigtools", includes=".")
View
2  scipy/sparse/linalg/dsolve/bscript
@@ -4,7 +4,7 @@ from bento.commands import hooks
def pre_build(context):
default_builder = context.default_builder
- context.tweak_builder("_superlu", use="superlu_src FLAPACK")
+ context.tweak_extension("_superlu", use="superlu_src FLAPACK")
def st_builder(extension):
return default_builder(extension,
View
2  scipy/sparse/linalg/eigen/arpack/bscript
@@ -25,5 +25,5 @@ def pre_build(context):
use="cshlib")
context.register_compiled_library_builder("arpack", builder)
- context.tweak_builder("_arpack", features="c fc pyext cshlib f2py bento",
+ context.tweak_extension("_arpack", features="c fc pyext cshlib f2py bento",
use="arpack FLAPACK CLIB")
View
2  scipy/sparse/sparsetools/bscript
@@ -3,5 +3,5 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
for e in ["_csr", "_csc", "_coo", "_bsr", "_dia", "_csgraph"]:
- context.tweak_builder(e, features="cxx cxxshlib pyext bento",
+ context.tweak_extension(e, features="cxx cxxshlib pyext bento",
defines=('__STDC_FORMAT_MACROS',))
View
2  scipy/spatial/bscript
@@ -2,4 +2,4 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
- context.tweak_builder("qhull", use="FLAPACK CLIB")
+ context.tweak_extension("qhull", use="FLAPACK CLIB")
View
10 scipy/special/bscript
@@ -2,13 +2,13 @@ from bento.commands import hooks
@hooks.pre_build
def pre_build(context):
- context.tweak_builder("orthogonal_eval", use="NPYMATH")
- context.tweak_builder("lambertw", use="NPYMATH")
- context.tweak_builder("_logit", use="NPYMATH")
+ context.tweak_extension("orthogonal_eval", use="NPYMATH")
+ context.tweak_extension("lambertw", use="NPYMATH")
+ context.tweak_extension("_logit", use="NPYMATH")
- context.tweak_builder("specfun", features="c fc pyext cshlib bento f2py",
+ context.tweak_extension("specfun", features="c fc pyext cshlib bento f2py",
use="sc_specfunlib NPYMATH CLIB")
- context.tweak_builder("_cephes",
+ context.tweak_extension("_cephes",
use="sc_amos sc_toms sc_c_misc sc_cephes sc_mach " \
"sc_cdf sc_specfunlib NPYMATH CLIB")
View
6 scipy/stats/bscript
@@ -8,9 +8,9 @@ def pre_build(context):
return default_builder(extension, features="c cstlib pyext bento")
context.register_compiled_library_builder("statlibimp", builder)
- context.tweak_builder("statlib", features="c fc cshlib pyext bento f2py",
+ context.tweak_extension("statlib", features="c fc cshlib pyext bento f2py",
use="statlibimp CLIB")
- context.tweak_builder("mvn", features="c fc cshlib pyext bento f2py",
+ context.tweak_extension("mvn", features="c fc cshlib pyext bento f2py",
use="CLIB")
- context.tweak_builder("futil", features="c fc cshlib pyext bento f2py f2py_fortran",
+ context.tweak_extension("futil", features="c fc cshlib pyext bento f2py f2py_fortran",
use="CLIB")
Please sign in to comment.
Something went wrong with that request. Please try again.