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 (13 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from bento.commands import hooks

@hooks.pre_build
def pbuild(context):
    bld = context.waf_context

    def builder(extension):
        return context.default_builder(extension,
                                       features="c cshlib bento f2py pyext",
                                       includes="src",
                                       use="dfftpack fftpack")
    context.register_builder("_fftpack", builder)
    context.register_builder("convolve", builder)