Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion waf and f2py (gist included)

Received: by 10.66.80.4 with SMTP id n4mr1591707pax.7.1351461154612;
        Sun, 28 Oct 2012 14:52:34 -0700 (PDT)
X-BeenThere: waf-users@googlegroups.com
Received: by 10.68.75.70 with SMTP id a6ls22647019pbw.5.gmail; Sun, 28 Oct
 2012 14:52:34 -0700 (PDT)
Received: by 10.66.83.196 with SMTP id s4mr9814384pay.30.1351461154045;
        Sun, 28 Oct 2012 14:52:34 -0700 (PDT)
Received: by 10.66.83.196 with SMTP id s4mr9814383pay.30.1351461154035;
        Sun, 28 Oct 2012 14:52:34 -0700 (PDT)
Return-Path: <tnagy1...@gmail.com>
Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52])
        by gmr-mx.google.com with ESMTPS id q7si1429193paz.0.2012.10.28.14.52.34
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sun, 28 Oct 2012 14:52:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of tnagy1...@gmail.com designates 209.85.160.52 as permitted sender) client-ip=209.85.160.52;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of tnagy1...@gmail.com designates 209.85.160.52 as permitted sender) smtp.mail=tnagy1...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-pb0-f52.google.com with SMTP id rr13so3612821pbb.11
        for <waf-users@googlegroups.com>; Sun, 28 Oct 2012 14:52:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=Qm8FXCvYbOPP7j1sB5OR8nbwlTTBMMugttzMnsm+isc=;
        b=Taa7q5Ev/TlkSrl8gpl5BRBIDy3dy1VxZmhtnfOETh1g5btkwCbYOk2JxBLFuHchj2
         s7CJClVm4CLxDK1hUm0uXn1hDx5mbCOs/5I6qYmyD5q2QmAXD8dCDTFqEy7HpIFxE0zx
         iN/M8pm8oS2zolJpiFiY+F+mW/eVaagDe61FGq86P/j1RRD6vE9MADcl93iNShyJKomX
         zTitSMZe0Ste3+KNu/m4kDZ9rp5/O2z2pthPCJz1Gd/CjdEWtaYiBsFPmgD1BhR3eXqW
         NZjeA4FFfzSKe+boIGgMBSpOVAiXhn2HI/yV6TYuHfe+gqHr1YpxzeBXdDxvvWrI7zzS
         KDlg==
Received: by 10.68.223.37 with SMTP id qr5mr87721001pbc.101.1351461153967;
 Sun, 28 Oct 2012 14:52:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.80.137 with HTTP; Sun, 28 Oct 2012 14:52:13 -0700 (PDT)
In-Reply-To: <d1277f10-05a3-4d89-91de-2133f8acc5e1@googlegroups.com>
References: <d1277f10-05a3-4d89-91de-2133f8acc5e1@googlegroups.com>
From: Thomas Nagy <tnagy1...@gmail.com>
Date: Sun, 28 Oct 2012 22:52:13 +0100
Message-ID: <CANJemY+Fqxija=gTWLyX2TrJ22e-neQNpa7wFWCauhHYrN=...@mail.gmail.com>
Subject: Re: [waf-users 4672] waf and f2py (gist included)
To: waf-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Oct 28, 2012 at 10:35 PM, Marius wrote:
> I've been using waf to compile f2py extensions (insteads of f2py's own built
> it compiler based on scons) since I find waf way easier and more robust to
> configure . Here's the code if anyone wants to use / improve it (which there
> is plenty of room for). I'm new to waf so I don't entirely know how to make
> this into a real "Tool." If someone points me in the right direction I'd be
> down for trying to get this in a shape where it could be incorporated into
> the project. I think what I need is to make the build command into a task
> generator, and decorate the the conf/opt commands... or something like that.
>
> https://gist.github.com/3969930

Send your feature/review requests to the bug tracker next time
http://code.google.com/p/waf/issues/list

1. Make also sure to change the function names to the standards
"configure" and "options".
2. Make sure you know the locals() usage for the format calls. It is
also possible to use the attributes bound to a task generator:
  bld(rule="${gen.only}", only="some string")
3. Use the examples in demos/subst/ for the file copies
4. Some systems use .dylib files instead of .so files

Thomas