python 2/3 compatibility layer for C extensions
Project homepage: https://py3c.readthedocs.io/
Description
py3c helps you port C extensions to Python 3.
It provides a detailed guide, and a set of macros to make porting easy
and reduce boilerplate.
Design principles
- Reduce chances of accidental subtle errors
- Minimize boilerplate
- Prefer the Python 3 way of doing things
- Minimize semantic changes under Python 2
Versions
Projects using py3c will be compatible with CPython 2.6, 2.7, and 3.3+.
Package information
- Ports path
- devel/py3c
- Package architecture
- amd64
- Maintainer
- Stefan Sperling <stsp@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Build
Test
Used by (6 dependency relationships)
Includes library, runtime, build and test dependencies.