Skip to content

setup: build fast indexer iff Cython available#1187

Open
robertlong13 wants to merge 1 commit into
ArduPilot:masterfrom
robertlong13:pr/fast-indexer-default-off-more
Open

setup: build fast indexer iff Cython available#1187
robertlong13 wants to merge 1 commit into
ArduPilot:masterfrom
robertlong13:pr/fast-indexer-default-off-more

Conversation

@robertlong13

Copy link
Copy Markdown
Contributor

Default to off for everyone unless they have everything needed to build it.

This never needed to be this complicated. There was an assumption that everyone on Linux, building pymavlink from source, would want fast indexing, but that was a little silly from the start.

@robertlong13

robertlong13 commented Mar 24, 2026

Copy link
Copy Markdown
Contributor Author

I have tested on Windows with a venv without cython installed.

I just realized that I wasn't seeing the warning though. Turns out pip swallows any output from setup.py here, and there's not a way around it as far as I can tell. I can drop the warning if anyone wants, since it's not functional (except by someone running setup.py directly)

(edit: actually, I'm just gonna strip it out, even if nobody wants me to)

@robertlong13 robertlong13 force-pushed the pr/fast-indexer-default-off-more branch from 06961c5 to 7c41a4f Compare March 24, 2026 04:07
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.

1 participant