package.py定义
name = u'包名称'
version = '1.16.6' # 版本
description = \
"""
NumPy is the fundamental package for array computing with Python.
"""
tools = [u'f2py.exe']
variants = [['platform-windows', 'arch-AMD64', 'python-2.7']]
description = u'描述'
requires = ['bin']
build_command = 'buxi_cp'
def commands():
"""
这是一个python函数,它确定如何配置环境以包括该软件包。
"""
setenv({root}/plugins')
env.PYTHONPATH.append('{root}/python')