Skip to content

Fix Python sdist missing csrc/src: add to MANIFEST.in#144

Merged
darnstrom merged 3 commits intomasterfrom
copilot/fix-python-interface-setup
Mar 25, 2026
Merged

Fix Python sdist missing csrc/src: add to MANIFEST.in#144
darnstrom merged 3 commits intomasterfrom
copilot/fix-python-interface-setup

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

The MANIFEST.in only included csrc/include/* but not csrc/src/*.c, so the sdist uploaded to PyPI was missing the C sources required to compile the Cython extension. Installing from PyPI or running python -m build would fail at wheel build with:

cc1: fatal error: csrc/src/api.c: No such file or directory

Change

  • interfaces/daqp-python/MANIFEST.in: add recursive-include csrc/src * so all C source files are bundled in the sdist alongside the existing headers.

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Fix Python interface setup for successful uploads Fix Python sdist missing csrc/src: add to MANIFEST.in Mar 25, 2026
Copilot AI requested a review from darnstrom March 25, 2026 15:25
@darnstrom darnstrom marked this pull request as ready for review March 25, 2026 15:29
@darnstrom darnstrom merged commit 5b2433b into master Mar 25, 2026
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants