Cython-3.0.11

Introduction to Cython

The Cython package provides a compiler for writing C extensions for the Python language.

[Note]

Note

Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Installation of Cython

Build the module:

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD

Install the module as the root user:

pip3 install --no-index --find-links=dist --no-cache-dir --no-user Cython

Contents

Installed Programs: cydbg, cython, and cythonize
Installed Libraries: None
Installed Directories: /usr/lib/python3.12/site-packages/Cython, /usr/lib/python3.12/site-packages/Cython-3.0.11.dist-info, and /usr/lib/python3.12/site-packages/pyximport

Short Descriptions

cydbg

is the Cython debugger

cython

is a compiler for code written in the Cython language. It outputs a C/C++ program which can be compiled with a C/C++ compiler

cythonize

is a compiler for code written in the Cython language. It outputs an extension module which is directly importable from Python