Skip to content

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 henryiii and jcfr 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
jcfr added a commit to jcfr/ninja-python-distributions that referenced this pull request Jun 19, 2025
Following 7a70669 ("feat: use a submodule for ninja sources (scikit-build#278)", 2025-03-20),
attempting to fetch sources is superfluous.
jcfr added a commit to jcfr/ninja-python-distributions that referenced this pull request Jun 19, 2025
…bdirectory

Following 7a70669 ("feat: use a submodule for ninja sources (scikit-build#278)", 2025-03-20),
attempting to fetch sources is not required as sources are already expected
to be available.
henryiii pushed a commit that referenced this pull request Jun 20, 2025
…bdirectory (#304)

Following 7a70669 ("feat: use a submodule for ninja sources (#278)", 2025-03-20),
attempting to fetch sources is not required as sources are already expected
to be available.
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