easyblock = 'PythonPackage'

name = 'scipy'
version = '0.19.1'
versionsuffix = '-Python-%(local_pyver)s-base'

homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""

toolchain = SYSTEM

source_urls = [
    'https://pypi.python.org/packages/8e/43/a7b400e7ea07220fb419f0669ff17f5ef71653cf32827315224bc9dda9d4/']
sources = ['%(name)s-%(version)s-cp27-cp27mu-manylinux1_x86_64.whl']

dependencies = [
    ('Python', '2.7.13', '-base'),
    ('numpy', '1.13.0', versionsuffix),
]

use_pip = True
unpack_sources = False

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%(local_pyshortver)s/site-packages/scipy'],
}

sanity_check_commands = [
    ('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')]

moduleclass = 'math'
