easyblock = "PythonPackage"

name = 'Oger'
version = '1.1.3'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://reservoir-computing.org/organic/engine'
description = """The OrGanic Environment for Reservoir computing (Oger) toolbox is a Python toolbox, released under the
 LGPL, for rapidly building, training and evaluating modular learning architectures on large datasets.
 It builds functionality on top of the Modular toolkit for Data Processing (MDP)."""


toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = ['http://organic.elis.ugent.be/sites/organic.elis.ugent.be/files']
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('Python', '2.7.3'),
    ('MDP', '3.3', versionsuffix),
]

options = {'modulename': name}

sanity_check_paths = {
    'files': ['lib/python%(pyshortver)s/site-packages/Oger/__init__.py'],
    'dirs': ['lib/python%%(pyshortver)s/site-packages/Oger/%s' % d for d in ['datasets', 'evaluation', 'examples',
                                                                             'gradient', 'nodes', 'parallel',
                                                                             'tests', 'utils']],
}

moduleclass = 'data'
