Cython-3.2.1

Introduction to Cython Module

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

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

Cython Dependencies

Optional (for tests)

"gdb" and "pytest"

Installation of Cython

Build the module:

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

Now, as the root user:

pip3 install --no-index --find-links dist --no-user Cython

This package does come with a test suite, but running it takes a long time (over 40 SBUs). The test suite will print data to the screen though to note to the user that it is still running. To run the tests, issue: python3 runtests.py.

Contents

Installed Programs: cygdb, cython, and cythonize
Installed Libraries: None
Installed Directories: /usr/lib/python3/site-packages/Cython, /usr/lib/python3/site-packages/Cython-3.2.1.dist-info, and /usr/lib/python3/site-packages/pyximport
Short Descriptions

cygdb

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