easyblock = "PythonPackage"

name = 'ASE'
version = '3.6.0.2515'

homepage = 'https://wiki.fysik.dtu.dk/ase/'
description = """ASE is a python package providing an open source Atomic Simulation Environment
 in the Python scripting language."""

toolchain = {'name': 'ictce', 'version': '4.0.6'}

source_urls = ['https://wiki.fysik.dtu.dk/ase-files/']
sources = ['python-%s-%s.tar.gz' % (name.lower(), version)]

python = 'Python'
pythonver = '2.7.3'
pythonshortver = '.'.join(pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (python, pythonver)

dependencies = [
    (python, pythonver),
]

sanity_check_paths = {
    'files': ['bin/ag', 'bin/ase', 'bin/ASE2ase.py', 'bin/testase.py'],
    'dirs': ['lib/python%s/site-packages/%s' % (pythonshortver, name.lower())]
}

moduleclass = 'chem'
