easyblock = "PythonPackage"

name = 'seekpath'
version = '1.5.0'

homepage = 'https://github.com/giovannipizzi/seekpath'
description = """SeeK-path is a python module to obtain and visualize band paths in the Brillouin zone of crystal structures.
The definition of k-point labels follows crystallographic convention, as defined and discussed in the HPKOT paper. Moreover,
the Bravais lattice is detected properly using the spacegroup symmetry. Also the suggested band path provided in the HPKOT
paper is returned. Systems without time-reversal and inversion-symmetry are also properly taken into account."""

toolchain = {'name': 'system', 'version': ''}

source_urls = [
    'https://pypi.python.org/packages/34/a0/3070823a5801e073cd9b961d8060b5ed6ad07fd255c8a1b10a8073c80e1c/']
sources = [SOURCELOWER_TAR_GZ]

python = "Python"
pythonversion = '2.7.13'
pyshortver = ".".join(pythonversion.split(".")[:-1])

versionsuffix = "-%s-%s-base" % (python, pythonversion)

dependencies = [
    (python, pythonversion, '-base'),
    ('numpy', '1.13.0', versionsuffix),
    ('scipy', '0.19.1', versionsuffix),
]

sanity_check_commands = [
    ('python',
     '-c "import seekpath; assert(seekpath.__version__ == \'%(version)s\')"')]

moduleclass = 'vis'
