Keras-2.0.5-Theano-0.9.0-Python-3.6.1.eb 839 Bytes
Newer Older
1
2
3
4
easyblock = 'PythonPackage'

name = 'Keras'
version = '2.0.5'
5
versionsuffix = '-Theano-1.2.0-Python-%(pyver)s'
6
7
8
9
10

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."""

11
toolchain = {'name': 'dummy', 'version': ''}
12
13
14
15
16
17
18

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

use_pip = True

dependencies = [
19
    ('Python', '3.6.1'),
20
    ('Theano', '0.9.0', '-Python-%(pyver)s'),
21
22
23
24
25
#   ('h5py', '2.7.0', '%(versionsuffix)s'), internal Python 3.6.1
#   ('PyYAML', '3.12', versionsuffix),      internal Python 3.6.1
]

# it defaults to Tensorflow
26
modextravars = {'KERAS_BACKEND': 'theano'}
27
28
29
30
31
32
33

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

moduleclass = 'math'