new file: m/matplotlib/matplotlib-2.0.2-Python-3.6.1-libpng-1.6.29.eb

new file:   s/scikit-image/scikit-image-0.18.2-Python-3.6.1.eb
	new file:   s/scikit-learn/scikit-learn-0.18.2-Python-3.6.1.eb
This commit is contained in:
Lukáš Krupčík 2017-08-02 09:36:21 +02:00
parent c3c9bb6251
commit 435a15d83c
3 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,44 @@
easyblock = 'Bundle'
name = 'matplotlib'
version = '2.0.2'
libpng_ver = '1.6.29'
versionsuffix = '-Python-%%(pyver)s-libpng-%s' % libpng_ver
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': ''}
# this is a bundle of Python packages
exts_defaultclass = 'PythonPackage'
dependencies = [
('Python', '3.6.1'),
('freetype', '2.7.1', '-libpng-%s' % libpng_ver),
]
exts_list = [
('Cycler', '0.10.0', {
'modulename': 'cycler',
'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'],
'source_tmpl': 'cycler-%(version)s.tar.gz',
}),
(name, version, {
'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'],
}),
]
# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module
full_sanity_check = True
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}
moduleclass = 'vis'

View File

@ -0,0 +1,36 @@
easyblock = 'PythonPackage'
name = 'scikit-image'
version = '0.18.2'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://scikit-learn.org/stable/index.html'
description = """Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world,
building upon numpy, scipy, and matplotlib. As a machine-learning module,
it provides versatile tools for data mining and analysis in any field of science and engineering.
It strives to be simple and efficient, accessible to everybody, and reusable in various contexts."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
freetype_ver = '2.6.5'
dependencies = [
('Python', '3.6.1'),
('Qhull', '2015.2'),
('matplotlib', '2.0.2', versionsuffix + '-freetype-%s' % freetype_ver),
('networkx', '1.11', versionsuffix),
('Pillow', '4.2.1', versionsuffix + '-freetype-%s' % freetype_ver),
#('sPickle', '0.1.11', versionsuffix)
]
options = {'modulename': 'skimage'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,30 @@
easyblock = 'PythonPackage'
name = 'scikit-learn'
version = '0.18.2'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://scikit-learn.org/stable/index.html'
description = """Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world,
building upon numpy, scipy, and matplotlib. As a machine-learning module,
it provides versatile tools for data mining and analysis in any field of science and engineering.
It strives to be simple and efficient, accessible to everybody, and reusable in various contexts."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [
('Python', '3.6.1'),
('matplotlib', '2.0.2', versionsuffix + '-libpng-1.6.29'),
]
options = {'modulename': 'sklearn'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/sklearn'],
}
moduleclass = 'data'