# IT4Innovations 2020

easyblock = 'PythonPackage'

name = 'scipy'
version = '1.3.3'

homepage = 'http://scipy.org'
description = """SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering.
  It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and
  image processing, ODE solvers, and more."""

toolchain = {'name': 'Py', 'version': '3.7'}
toolchainopts = {'pic': True}

source_urls = [PYPI_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('numpy', '1.18.1'),
    ('mkl', '2019.5.281', '', True),
]

prebuildopts = 'unset LDFLAGS && '

sanity_check_paths = {'files': [], 'dirs': [
    'lib/python3.7/site-packages/%(name)s-%(version)s-py3.7-linux-x86_64.egg/scipy'], }

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

moduleclass = 'python'
