Keras-2.1.2-Tensorflow-1.2.0-Python-3.6.1.eb 898 Bytes
Newer Older
Lukáš Krupčík's avatar
Lukáš Krupčík committed
1 2 3
easyblock = 'PythonPackage'

name = 'Keras'
4
version = '2.1.2'
Lukáš Krupčík's avatar
Lukáš Krupčík committed
5 6 7 8 9 10 11 12
versionsuffix = '-Tensorflow-1.2.0-Python-%(pyver)s'

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': 'dummy', 'version': ''}

13 14
source_urls = ['https://github.com/keras-team/keras/archive']
sources = ['%(version)s.tar.gz']
Lukáš Krupčík's avatar
Lukáš Krupčík committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

use_pip = True

dependencies = [
    ('Python', '3.6.1'),
    ('Tensorflow', '1.2.0', '', ('GCC', '7.1.0-2.28')),
#   ('h5py', '2.7.0', '%(versionsuffix)s'), internal Python 3.6.1
#   ('PyYAML', '3.12', versionsuffix),      internal Python 3.6.1
]

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

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

moduleclass = 'math'