Skip to content

[Cython] [package list]

Cython/3.1.2-cpeGNU-25.03 (Cython-3.1.2-cpeGNU-25.03.eb)

Install with the EasyBuild-user module:

eb Cython-3.1.2-cpeGNU-25.03.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider Cython/3.1.2-cpeGNU-25.03.

EasyConfig:

#DOC EasyConfig to be used with Cray Python when its Cython implementation is too old.
easyblock = 'PythonPackage'

name = 'Cython'
version = '3.1.2'

homepage = 'https://cython.org/'
description = """
Cython is an optimising static compiler for both the Python programming
language and the extended Cython programming language (based on Pyrex).
"""
docurls = [
    'https://cython.org/#documentation',
    'https://github.com/cython/cython',
]

toolchain = {'name': 'cpeGNU', 'version': '25.03'}

sources = [SOURCELOWER_TAR_GZ]
checksums = ['6bbf7a953fa6762dfecdec015e3b054ba51c0121a45ad851fa130f63f5331381']

builddependencies = [
    ('buildtools-python', '%(toolchain_version)s', '-cray-python%(pyshortver)s', True),
]

dependencies = [
    ('cray-python', EXTERNAL_MODULE),
]

# Cython currently requires pip to build correctly
use_pip = True

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

sanity_check_commands = ["cython --version"]

moduleclass = 'lang'

[Cython] [package list]