easyblock = 'PythonPackage'

name = 'nco'
version = '0.0.2'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/nco/pynco'
description = """Python bindings for NCO"""

toolchain = {'name': 'intel', 'version': '2015a'}
toolchainopts = {'usempi': True}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('Python', '2.7.10'),
    ('NCO', '4.5.1', versionsuffix),
    ('numpy', '1.10.4', versionsuffix),
    ('scipy', '0.16.1', versionsuffix),
    ('netcdf4-python', '1.2.2', versionsuffix),

]

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

moduleclass = 'data'
