Allow other libraries to `cimport av`
Created by: papr
Overview
I would like to build a Cython extension that imports and uses pyav's Cython classes. Cython recommends modules to distribute their *.pxd
files as package_data
to allow other packages to cimport items from your module as a dependency.
Desired Behavior
Please distribute your pxd files, including those in include/
, within your module.
Example API
cimport av
Additional context
We have previously forked pyav to add our own features. Unfortunately, it is not easily possible to rebase our changes on top of the current version. Instead, we would like to extract our changes into a separate module that depends on your pyav version.
There is precedence in regards to distributing pxd based on this method.