Binary package “py3c-dev” in ubuntu bionic

Python 2/3 compatibility layer for C extensions

 py3c is a library for easing porting C extensions to Python 3,
 providing macros for single-source compatibility between Python 2.6,
 2.7, and 3.3+. It could be described as “the six for C extensions”.