matplotlib-2.0.2-Python-2.7.13-base.eb 1.17 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
easyblock = "PythonPackage"

name = 'matplotlib'
version = '2.0.2'

homepage = 'http://matplotlib.org'
description = """matplotlib is a 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 python scripts, the python
 and ipython shell, web application servers, and six graphical user interface toolkits."""

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

source_urls = ['https://pypi.python.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/']
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'),
    ('freetype', '2.8'),
    ('libpng', '1.6.29'),
    ('numpy', '1.13.0', versionsuffix),
]

pyprefix = 'lib/python%s/site-packages' % pyshortver
eggname = 'matplotlib-%%(version)s-py%s-linux-x86_64.egg' % pyshortver
sanity_check_paths = {
    'files': [],
    'dirs': [('%s/%%(name)s' % pyprefix, '%s/%s' % (pyprefix, eggname))],
}

moduleclass = 'vis'