easyblock = 'PythonPackage'

name = 'SimPEG'
version = '0.3.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://simpeg.xyz'
description = """Simulation and Parameter Estimation in Geophysics: a python package for simulation and gradient
based parameter estimation in the context of geophysical applications."""

toolchain = {'name': 'intel', 'version': '2016b'}

sources = [SOURCE_TAR_GZ]
source_urls = [PYPI_SOURCE]

dependencies = [
    ('Python', '2.7.12'),
    ('matplotlib', '1.5.3', versionsuffix),
]

options = {'modulename': 'SimPEG'}

sanity_check_paths = {
    'files': ['bin/TreeUtils.pyx'],
    'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

moduleclass = 'geo'
