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

Always run Cython at build time #11

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

berquist
Copy link
Contributor

@berquist berquist commented Apr 2, 2024

#10 was not actually running Cython as part of the pyproject.toml build; this PR fixes that. There is a knob to not run Cython and use the included C sources, but there is no way to have Cython be only installed optionally. It has to do with build environment isolation, which would be a bad thing to disable. If a compiler is missing the build should also not error. The C sources are no longer strictly necessary but I left them in and added the missing Becke one.

This also runs CI on Windows, and MSVC does actually compile the extensions. I think my end goal would be to add https://github.com/pypa/cibuildwheel, but I didn't want to make this PR even bigger. Eventually you could use this to distribute compiled Windows wheels.

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