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

[Experiment] Add PreprocessedExtension #4086

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

abravalheri
Copy link
Contributor

Summary of changes

This is an experiment.

Currently, "transpilers" that want to plug into setuptools must either a) override build_ext or b) pre-compile files to C at every invocation of setup.py.

mypycify is an example of the approach in (b) and suffers from performance issues.

My idea with this experiment is to enable deferring the "pre-processing" step just before the compilation when creating the wheel, without requiring a new custom build step or overriding build_ext.

Closes

Pull Request Checklist

@abravalheri abravalheri changed the title [Experiment] Pre-processed Extension [Experiment] Add PreprocessedExtension Oct 18, 2023
@abravalheri abravalheri force-pushed the preprocessed-ext branch 2 times, most recently from 2d1eef7 to 2cb5c61 Compare October 19, 2023 12:19
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.

None yet

1 participant