easyblock = 'PythonPackage'

name = 'tvb-library'
version = '20150922'
commit = '924a22f'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.thevirtualbrain.org/'
description = """The Virtual Brain Project (TVB Project) has the purpose of offering some modern tools to the
 Neurosciences community, for computing, simulating and analyzing functional and structural data of human brains.
 TVB Scientific Library is the most important scientific contribution of TVB Project."""

toolchain = {'name': 'intel', 'version': '2016a'}

source_urls = ['https://github.com/the-virtual-brain/tvb-library/archive/']
sources = ['%s.tar.gz' % commit]

dependencies = [
    ('Python', '2.7.11'),
    ('TVB-deps', '20160618', versionsuffix),
]

buildininstalldir = True
install_target = 'develop'

options = {'modulename': 'tvb.simulator'}

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

moduleclass = 'lib'
