easyblock = "PythonPackage" name = 'ScientificPython' version = '2.9.4' homepage = 'https://sourcesup.cru.fr/projects/scientific-py/' description = """ScientificPython is a collection of Python modules for scientific computing. It contains support for geometry, mathematical functions, statistics, physical units, IO, visualization, and parallelization.""" toolchain = {'name': 'intel', 'version': '2017.00'} source_urls = ['https://sourcesup.renater.fr/frs/download.php/4570'] sources = [SOURCE_TAR_GZ] python = 'Python' pythonversion = '3.5.2' pythonshortversion = '.'.join(pythonversion.split('.')[:-1]) versionsuffix = "-%s-%s" % (python, pythonversion) dependencies = [ (python, pythonversion), # older version of numpy than the one included in Python module required # cfr. https://bitbucket.org/khinsen/scientificpython/issue/13/numpy-19-has-dropped-support-for #('numpy', '1.8.2', versionsuffix), numpy is into Python ] options = {'modulename': 'Scientific'} sanity_check_paths = { 'files': [], 'dirs': ['lib/python%s/site-packages/Scientific' % pythonshortversion], } moduleclass = 'math'