# JH 2020 easyblock = 'PythonPackage' name = 'phonopy' version = '2.6.1' versionsuffix = '-Py-3.7' homepage = 'http://atztogo.github.io/phonopy/' description = """Phonopy is an open source package of phonon calculations based on the supercell approach.""" toolchain = {'name': 'intel', 'version': '2020a'} source_urls = ['https://github.com/phonopy/phonopy/archive/'] sources = ["v%(version)s.tar.gz"] dependencies = [ ('Py', '3.7', '', True), ('matplotlib', '3.1.0', versionsuffix, True), ('wheel', '0.34.2', versionsuffix, True), # ('lxml', '4.3.3', '-Py-3.7', True), ('PyYAML', '5.3.1', versionsuffix, True), # ('h5py', '2.9.0', '-Py-3.7', True), ] # required because we're building a Python package using Intel compilers on top of Python built with GCC check_ldshared = True download_dep_fail = True use_pip = True sanity_check_paths = { 'files': ['bin/phonopy'], 'dirs': ['lib/python3.7/site-packages'], } moduleclass = 'python'