# IT4Innovations 2018

easyblock = 'PythonPackage'

name = 'Keras'
version = '2.1.4'
versionsuffix = '-Theano-1.0.1'

homepage = 'https://keras.io/'
description = """Keras is a minimalist, highly modular neural networks library, written in Python and
capable of running on top of either TensorFlow or Theano."""

toolchain = {'name': 'Py', 'version': '3.6'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('Theano', '1.0.1'),
    ('PyYAML', '3.12'),
]

# it defaults to Tensorflow
modextravars = {'KERAS_BACKEND': 'theano'}

sanity_check_paths = {
    'files': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6.egg'],
    'dirs': [],
}

moduleclass = 'python'