Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

REF: use higher-level API for output registration.

  • Loading branch information...
commit d2ce154b5759142752c34582409c893397aa3f2c 1 parent a5b366e
@cournape cournape authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 bscript
View
7 bscript
@@ -243,12 +243,7 @@ def post_configure(context):
def pre_build(context):
bld = context.waf_context
- def iregistrer(category, name, nodes, from_node, target_dir):
- source_dir = op.join("$_srcrootdir", from_node.bldpath())
- files = [n.path_from(from_node) for n in nodes]
- return InstalledSection.from_source_target_directories(category, name, source_dir, target_dir, files)
- context.isection_registry.register_category("gen_pymodule", iregistrer)
- context.outputs_registry.register_category("gen_pymodule", "pythonfiles")
+ context.register_category("gen_pymodule")
bld(features="gen_pymodule",
target="scipy/__config__.py",
content="""\
Please sign in to comment.
Something went wrong with that request. Please try again.