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
| System | Port | Version |
|---|---|---|
| DragonFly | lang/cython | 0.29.37_2 |
| FreeBSD | lang/cython | 3.2.9 |
| OpenBSD | lang/cython | 3.2.9v0 |
| MidnightBSD | lang/cython | 3.3.0 |
| HardenedBSD | lang/cython | 3.2.9 |
| GhostBSD | lang/cython | 3.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