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

Allowing C - Cython extension build #279

Open
bastienqb opened this issue Jun 15, 2022 · 5 comments
Open

Allowing C - Cython extension build #279

bastienqb opened this issue Jun 15, 2022 · 5 comments

Comments

@bastienqb
Copy link

We are currently using setuptools as our build backend and would like to move to hatch. However, the blocking point for us is that we need to be able to build some extension in Cython, and I don't see anything related to this point in Hatch right now. Is it something that should be developed as a plugin? Or do you plan to integrate it soon?

@ofek
Copy link
Sponsor Collaborator

ofek commented Jun 15, 2022

Support is planned, a PEP is underway https://github.com/ofek/extensionlib

@alextremblay
Copy link

in the meantime, you could perhaps look at how https://github.com/ofek/hatch-mypyc is handling this use case with the mypyc compiler

@ThmX
Copy link

ThmX commented Mar 27, 2023

Any update on this?

@joshua-auchincloss
Copy link

Adding to this as I had the same drawback, I tossed what I was bootstrapping in a lib for reuse so hope it helps others

In hatch.toml

[build.targets.wheel.hooks.cython]
dependencies = ["hatch-cython"]

source: hatch-cython

@RonnyPfannschmidt
Copy link
Contributor

@joshua-auchincloss looksl ovely, thanks

@ofek should a documentation reference be added to complete this?

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

No branches or pull requests

6 participants