Cython/3.2.9-cpeAMD-26.03 (Cython-3.2.9-cpeAMD-26.03.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider Cython/3.2.9-cpeAMD-26.03.
EasyConfig:
#DOC This cpeAMD version is meant specifically for VeloxChem. Note that using the AMD
#DOC compilers for Python packages is only for people who really understand compiler
#DOC incompatibilities as precompiled Python packages and Python itself is usually
#DOC compiled with the GNU compilers.
easyblock = 'PythonPackage'
local_Cython_version = '3.2.9' # https://pypi.org/project/Cython/
local_craypython_version = '3.12.12'
name = 'Cython'
version = local_Cython_version
homepage = 'https://cython.org/'
whatis = [
'Description: Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language'
]
description = """
Cython is an optimising static compiler for both the Python programming
language and the extended Cython programming language (based on Pyrex).
"""
doc_urls = [
'https://cython.org/#documentation',
'https://github.com/cython/cython',
]
toolchain = {'name': 'cpeAMD', 'version': '26.03'}
sources = [SOURCELOWER_TAR_GZ]
checksums = ['d249c9022ab13286b17bd66f30609e800c5f95efeecb06168990c7a66cecde6c']
build_deps = [
('buildtools-python', '%(toolchain_version)s', '-cray-python%(pyshortver)s', SYSTEM),
]
deps = [
('cray-python', EXTERNAL_MODULE),
]
use_pip = True
pip_verbose = True
pre_install_opts = 'CC=amdclang CXX=amdclang++'
post_install_cmds = [
'mkdir -p %(installdir)s/share/licenses/Cython',
'cp CHANGES.rst COPYING.txt INSTALL.txt LICENSE.txt README.rst USAGE.txt %(installdir)s/share/licenses/Cython'
]
local_python_mm = ''.join( local_craypython_version.split('.')[:2] )
sanity_check_paths = {
'files': [
'bin/cygdb',
'bin/cython',
'bin/cythonize',
'lib/python%(pyshortver)s/site-packages/cython.py',
f'lib/python%(pyshortver)s/site-packages/Cython/Utils.cpython-{local_python_mm}-x86_64-linux-gnu.so',
],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
sanity_check_cmds = [
'cython --version'
]
env_mod_category = 'lang'