easyblock = 'Bundle'

name = 'statsmodels'
version = '0.6.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://statsmodels.sourceforge.net/'
description = """Statsmodels is a Python module that allows users to explore data, estimate statistical models,
and perform statistical tests."""

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

# this is a bundle of Python packages
exts_defaultclass = 'PythonPackage'

dependencies = [('Python', '3.5.2')]

exts_list = [
    ('patsy', '0.4.1', {
        'source_urls': ['https://pypi.python.org/packages/source/p/patsy'],
        'source_tmpl': 'patsy-%(version)s.zip',
    }),
    (name, version, {
        'source_urls': ['https://pypi.python.org/packages/sources/statsmodels'],
        'source_tmpl': 'statsmodels-%(version)s.zip',
    }),
]

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

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'math'
