easyblock = "PythonPackage"

name = 'numexpr'
version = '2.0.1'

homepage = 'http://code.google.com/p/numexpr/'
description = """The numexpr package evaluates multiple-operator array expressions many times faster than NumPy can.
 It accepts the expression as a string, analyzes it, rewrites it more efficiently, and compiles it on the fly into
 code for its internal virtual machine (VM). Due to its integrated just-in-time (JIT) compiler, it does not require a
 compiler at runtime."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = [GOOGLECODE_SOURCE]
sources = [SOURCE_TAR_GZ]

python = 'Python'
pythonver = '2.7.3'
pythonshortver = '.'.join(pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (python, pythonver)

dependencies = [
    (python, pythonver),
    ('HDF5', '1.8.10', '-gpfs')
]

eggname = '%s-%s-py%s-linux-x86_64.egg' % (name, version, pythonshortver)
sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/%s/%s' % (pythonshortver, eggname, name)]
}

moduleclass = 'math'
