easyblock = 'PythonPackage'

name = 'Tensorflow'
version = '1.3.0'
versionsuffix = '-mkl'

homepage = 'https://www.tensorflow.org/'
description = "An open-source software library for Machine Intelligence"

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

pymaj = '3'
pymin = '6'
pymajmin = pymaj + pymin

sources = [
    'tensorflow-%(version)src1-cp36-cp36m-linux_x86_64.whl',
]

dependencies = [
    ('Java', '1.8.0_121', '', True),
    ('protobuf', '3.4.0', '-GCC-6.4.0-2.28-Python-3.6.1', True)
]

use_pip = True
unpack_sources = False

# sanity_check_paths = {
#    'files': [''],
#    'dirs': ['bin'],
#}

moduleclass = 'lib'
