BSD Ports

lang/cython 0.29.37_2 DragonFly

Compiler for Writing C Extensions for the Python Language

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
lang, python
Package size
1827.8 KiB, 11320.4 KiB installed

Description

Cython is a Python compiler that makes writing C extensions for Python as easy as Python itself. Cython is based on Pyrex, but supports more cutting edge functionality and optimizations.

Cython translates Python code to C/C++ code, but additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.

This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.

In the other systems

SystemPortVersion
DragonFlylang/cython0.29.37_2
FreeBSDlang/cython3.2.9
OpenBSDlang/cython3.2.9v0
MidnightBSDlang/cython3.3.0
HardenedBSDlang/cython3.2.9
GhostBSDlang/cython3.2.9

Install

Binary package:

pkg install py27-cython

From DPorts:

cd /usr/dports/lang/cython && make install clean

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py39-cython-0.29.37_2, py310-cython-0.29.37_2, py311-cython-0.29.37_2

Message after installing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Uses Python 2.7 which is EOLed upstream.