Skip to content

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Mar 27, 2024

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

@chriso chriso self-assigned this Mar 27, 2024
@achille-roussel achille-roussel added the bug Something isn't working label Mar 27, 2024
@chriso chriso merged commit 0648bb1 into main Mar 27, 2024
@chriso chriso deleted the manifest branch March 27, 2024 03:54
@pelletier
Copy link
Contributor

I think the canonical way to do this is the depends argument to Extension() created in setup.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants