Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MANIFEST.in #141

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Add MANIFEST.in #141

merged 1 commit into from
Mar 27, 2024

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
4 checks passed
@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