easyblock = 'PythonPackage'

name = 'Nilearn'
version = '0.1.4.post1'

homepage = 'http://nilearn.github.io/'
description = """Nilearn is a Python module for fast and easy statistical learning on NeuroImaging data."""

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

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

pyver = '2.7.10'
versionsuffix = '-Python-%s' % pyver

dependencies = [
    ('scikit-learn', '0.16.1', versionsuffix),
    ('NiBabel', '2.0.1', versionsuffix),
]

pyshortver = '.'.join(pyver.split('.')[:2])
sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%(pyver)s/site-packages/nilearn-%%(version)s-py%(pyver)s.egg' % {'pyver': pyshortver}],
}

moduleclass = 'vis'
