File: bscript

package info (click to toggle)
python-scipy 0.10.1%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 42,232 kB
  • sloc: cpp: 224,773; ansic: 103,496; python: 85,210; fortran: 79,130; makefile: 272; sh: 43
file content (18 lines) | stat: -rw-r--r-- 966 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from bento.commands import hooks

@hooks.pre_build
def pre_build(context):
    default_builder = context.default_builder

    context.register_builder("_quadpack",
                             lambda e: default_builder(e, use="quadpack linpack_lite mach FBLAS CLIB"))
    context.register_builder("_odepack",
                             lambda e: default_builder(e, use="odepack linpack_lite mach FBLAS CLIB"))
    context.register_builder("vode",
                             lambda e: default_builder(e,
                                                       features="c cshlib pyext bento f2py",
                                                       use="odepack linpack_lite mach FBLAS CLIB"))
    context.register_builder("_dop",
                             lambda e: default_builder(e,
                                                       features="c cshlib pyext bento f2py",
                                                       use="dop FBLAS CLIB"))