Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{compiler}[foss/2019b] pythran v0.9.4.post1 w/ Python 3.7.4 #9488

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'PythonPackage'

name = 'networkx'
version = '2.4'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://pypi.python.org/pypi/networkx'
description = """NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics,
and functions of complex networks."""

toolchain = {'name': 'foss', 'version': '2019b'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['f8f4ff0b6f96e4f9b16af6b84622597b5334bf9cae8cf9b2e42e7985d5c95c64']

dependencies = [
('Python', '3.7.4'),
('SciPy-bundle', '2019.10', versionsuffix), # required for numpy, scipy, ...
]

use_pip = True
download_dep_fail = True

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
easyblock = 'PythonBundle'

name = 'pythran'
version = '0.9.4.post1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://pythran.readthedocs.io'
description = """ Pythran is an ahead of time compiler for a subset of the Python language,
with a focus on scientific computing. It takes a Python module annotated with a few interface description
and turns it into a native Python module with the same interface, but (hopefully) faster. """

toolchain = {'name': 'foss', 'version': '2019b'}

dependencies = [
('Python', '3.7.4'),
('networkx', '2.4', versionsuffix),
]

use_pip = True

exts_default_options = {'source_urls': [PYPI_SOURCE]}

exts_list = [
('ply', '3.11', {
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('gast', '0.3.2', {
'checksums': ['5c7617f1f6c8b8b426819642b16b9016727ddaecd16af9a07753e537eba8a3a5'],
}),
('beniget', '0.2.0', {
'checksums': ['4495fb8ef0e99f9291c751856e3cc0695115e7936acc54717a3f620ab331b247'],
}),
(name, version, {
'checksums': ['3842fefbb2374a28f8bb3e1ca9403513299438deb07608a5d76b1ae7b4fd24c0'],
}),
]

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/'],
}

modloadmsg = """
To use the OpenBLAS library, run:
pythran --config=compiler.blas=openblas <python_script.py>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smoors Maybe it's better to define an alias for the pythran command for this in the module, so people can just use pythran <python_script.py>?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boegel good idea, see #9594

"""

moduleclass = 'compiler'