@@ -0,0 +1,612 @@
+%22%22%22numpyf2py Tool%0A%0Af2py tool which knows about distutils directories.%0A%0AThere normally shouldn't be any need to import this module directly.%0AIt will usually be imported through the generic SCons.Tool.Tool()%0Aselection method.%0A%0A%22%22%22%0Afrom copy import deepcopy%0A%0Afrom numscons.core import distutils_dirs_emitter%0A%0Aimport numscons.tools.f2py as f2py%0A%0Adef generate(env):%0A    if not env%5B'BUILDERS'%5D.has_key('F2py'):%0A        f2py.generate(env)%0A%0A    bld = deepcopy(env%5B'BUILDERS'%5D%5B'F2py'%5D)%0A    bld.emitter.insert(0, distutils_dirs_emitter)%0A    env%5B'BUILDERS'%5D%5B'NumpyF2py'%5D = bld%0A%0Adef exists(env):%0A    return f2py.exists(env)%0A

Add a separate numpyf2py.py tool.