summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-08-29 09:23:52 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-08-29 10:04:44 -0600
commitaa86ff47eeae89e91e7b679e9e50b500b961c584 (patch)
treedfbcd14d8f349071f0be4ce133623f23f2e0a381 /numpy/random
parent7001d613aaa445ff650a273ec3d4db6787daf2e3 (diff)
downloadnumpy-aa86ff47eeae89e91e7b679e9e50b500b961c584.tar.gz
MAINT: Remove bento related files.
Numpy will no longer support the bento build system, so remove the associated files.
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/bento.info9
-rw-r--r--numpy/random/bscript38
2 files changed, 0 insertions, 47 deletions
diff --git a/numpy/random/bento.info b/numpy/random/bento.info
deleted file mode 100644
index f51da0131..000000000
--- a/numpy/random/bento.info
+++ /dev/null
@@ -1,9 +0,0 @@
-HookFile: bscript
-
-Library:
- Extension: mtrand
- Sources:
- mtrand/mtrand.c,
- mtrand/randomkit.c,
- mtrand/initarray.c,
- mtrand/distributions.c
diff --git a/numpy/random/bscript b/numpy/random/bscript
deleted file mode 100644
index cecc65e33..000000000
--- a/numpy/random/bscript
+++ /dev/null
@@ -1,38 +0,0 @@
-import os
-import sys
-
-from bento.commands import hooks
-import waflib
-
-@hooks.post_configure
-def configure(context):
- conf = context.waf_context
-
- conf.env.USE_WINCRYPT = False
- if conf.check_declaration("_WIN32", mandatory=False):
- conf.env.USE_WINCRYPT = True
-
- conf.env.NEEDS_MINGW32_WORKAROUND = False
- if sys.platform == "win32" and conf.check_declaration("__GNUC__", mandatory=False):
- conf.env.NEEDS_MINGW32_WORKAROUND = True
-
-@hooks.pre_build
-def build(context):
- bld = context.waf_context
-
- if bld.env.NEEDS_MINGW32_WORKAROUND:
- raise NotImplementedError("Check for mingw time workaround stuff")
-
- def builder(extension):
- includes = ["../core/include", "../core/include/numpy", "../core",
- "../core/src/private"]
- kw = {}
- # enable unix large file support on 32 bit systems
- # (64 bit off_t, lseek -> lseek64 etc.)
- kw['defines'] = ['_FILE_OFFSET_BITS=64',
- '_LARGEFILE_SOURCE=1',
- '_LARGEFILE64_SOURCE=1']
- if bld.env.USE_WINCRYPT:
- kw["lib"] = "ADVAPI32"
- return context.default_builder(extension, includes=includes, **kw)
- context.register_builder("mtrand", builder)