OpenBSD ports

The devel/py3c port

py3c-1.1 – python 2/3 compatibility layer for C extensions

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+.

WWW: https://py3c.readthedocs.io/
Categories:
devel lang/python

Library dependencies

Build dependencies

Run dependencies