Closed chriso closed 7 months ago
In #136 we split the C extension across frame.c and a few header files.
frame.c
When setuptools tries to build the extension it doesn't seem to know about the headers. According to https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html#controlling-files-in-the-distribution we need to bundle a MANIFEST.in file which tells setuptools what files are included in the sdist. The manifest I've provided copies the entire src directory via graft src. The build now succeeds.
setuptools
MANIFEST.in
graft src
I think the canonical way to do this is the depends argument to Extension() created in setup.py.
depends
Extension()
setup.py
In #136 we split the C extension across
frame.c
and a few header files.When
setuptools
tries to build the extension it doesn't seem to know about the headers. According to https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html#controlling-files-in-the-distribution we need to bundle aMANIFEST.in
file which tells setuptools what files are included in the sdist. The manifest I've provided copies the entire src directory viagraft src
. The build now succeeds.