easyblock = "PythonPackage" name = 'matplotlib' version = '2.0.2' homepage = 'http://matplotlib.org' description = """matplotlib is a local_python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. matplotlib can be used in local_python scripts, the local_python and ipython shell, web application servers, and six graphical user interface toolkits.""" toolchain = SYSTEM source_urls = [ 'https://pypi.local_python.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/'] sources = [SOURCELOWER_TAR_GZ] local_python = "Python" local_pythonversion = '2.7.13' local_pyshortver = ".".join(local_pythonversion.split(".")[:-1]) versionsuffix = "-%s-%s-base" % (local_python, local_pythonversion) dependencies = [ (local_python, local_pythonversion, '-base'), ('freetype', '2.8'), ('libpng', '1.6.29'), ('numpy', '1.13.0', versionsuffix), ] local_pyprefix = 'lib/local_python%s/site-packages' % local_pyshortver local_eggname = 'matplotlib-%%(version)s-py%s-linux-x86_64.egg' % local_pyshortver sanity_check_paths = { 'files': [], 'dirs': [('%s/%%(name)s' % local_pyprefix, '%s/%s' % (local_pyprefix, local_eggname))], } moduleclass = 'vis'