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

feat: use a submodule for ninja sources #278

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented Dec 3, 2024

The Ninja Python distribution only needs sources from upstream (no need to download pre-built binaries from upstream).
Including upstream sources removes the need to download those sources when installing from an SDist.

fix #127

@mayeut mayeut force-pushed the embedded-sources branch 2 times, most recently from 0ef77fc to 0292c7e Compare December 15, 2024 08:25
@mayeut mayeut force-pushed the embedded-sources branch from c0b9203 to 3ba5f49 Compare March 5, 2025 06:42
@mayeut mayeut requested review from jcfr and henryiii March 11, 2025 06:32
@henryiii
Copy link
Contributor

Should we trim anything from the SDist? Usually there are docs and stuff we don't have to include.

@mayeut mayeut force-pushed the embedded-sources branch from b765656 to b25f0f4 Compare March 15, 2025 12:30
@mayeut
Copy link
Contributor Author

mayeut commented Mar 15, 2025

Should we trim anything from the SDist?

Most of the savings come from not included the png image in this repo (100kB).
Filtering on upstream saves another 50kB.

@mayeut mayeut force-pushed the embedded-sources branch 2 times, most recently from cfe572c to 0341156 Compare March 19, 2025 06:21
@mayeut mayeut force-pushed the embedded-sources branch from 0341156 to 66bec94 Compare March 19, 2025 07:31
@henryiii henryiii merged commit 7a70669 into scikit-build:master Mar 20, 2025
17 checks passed
@mayeut mayeut deleted the embedded-sources branch March 22, 2025 06:23
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.

Avoid downloading ninja source
2 participants