gn-dist
Binary distributions of GN (generate-ninja) for Linux (glibc and musl).
Installation
python3 -m pip install gn-dist
# convenience wrapper script
GN_WRAPPER=$(which gn)
$GN_WRAPPER --version
# actual binary
GN_EXE=$(python3 -c "from gn_dist import GN; print(str(GN))")
$GN_EXE --version
# to add the actual binary to PATH, you can do e.g.:
GN_DIR="$(dirname $GN_EXE)" # or use GN.parent above
export PATH="$GN_DIR:$PATH"
# ^ add this to your ~/.bashrc if you want
For Windows and macOS, you'll want Google's builds from CIPD:
https://chrome-infra-packages.appspot.com/p/gn/gn
Updating
To make a new release, first update the GN_REV in build_gn.py and rebuild locally.
Then run src/gn_dist/gn --version and manually update the version field in pyproject.toml.
Also, you may want to update utils/install-static-clang.sh and the cibuildwheel pin in build_one.yaml.
Commit and push the changes. Finally, go to the Actions panel and run Build with the publish option checked.
History
See below for some background why gn-dist was created:
- https://groups.google.com/g/pdfium/c/1__HW-wzJ8c/m/5MCYXAuDBQAJ
- https://chromium-review.googlesource.com/c/chromium/src/+/7593779/comments/fdd2633a_eb123349
Related work
If you are looking for PyPI builds of ninja,
scikit-build/ninja-python-distributions
is somewhat equivalent to this project.
Note though, it uses Kitware's fork of ninja, not the original version.
Metadata
Release files for gn-dist 2407
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gn_dist-2407.tar.gz | 4.7 kB | With provenance | Details for gn_dist-2407.tar.gz |
Built distributions (wheels)
Total release size: 26.2 MB
Release files / gn_dist-2407.tar.gz
| Download URL | gn_dist-2407.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cbd9ab2c861fac5e84564cbf0a19a28f30153ac8f4c580cadbd56db6a127923
|
|
BLAKE2b-256 checksum How to use checksums |
71d9af9146e13bbcf92a6c9ccddddf0650aa2e101575a10556f8ed6782b2d8ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_x86_64.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
2e76c0a0a4fdd7c5ec4a45e73218324ffdd67cee59ccdf745ca6ac73ddbad7e2
|
|
BLAKE2b-256 checksum How to use checksums |
485ed4f4c8b155f00bf8a8ca4e6166625a154af9a5ac0af574020f76bfeaa3c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_s390x.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_s390x.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux musl 1.2+ IBM System/390x Python 3 |
|
SHA-256 checksum How to use checksums |
0a23cbaafc636ae79c7c3c16ad59ee2f5552a5080d9deb0f59495031c4f5e5e3
|
|
BLAKE2b-256 checksum How to use checksums |
4c301c40112f4985deb14b51738021eaf2b570d7f2fde0224cc3a0d8d0139518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_riscv64.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_riscv64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux musl 1.2+ RISC-V 64 Python 3 |
|
SHA-256 checksum How to use checksums |
72cf9849e5776e33330927e72b71a190dc3f3e17b2deadedf147fc52fa424b90
|
|
BLAKE2b-256 checksum How to use checksums |
361fdfe186d0b4fbebb99f97d86dc8698f3fce8849d753499fd518874f6da8a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_ppc64le.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_ppc64le.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux musl 1.2+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
8839764d877c0aad548ba6a218eb6b193aec9c12c95f0da9584f46762deca488
|
|
BLAKE2b-256 checksum How to use checksums |
f5c6ebe3157da179b771f396c2e12a8099c68ad1c9b14723a97ffbcadea080f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_i686.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_i686.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Linux musl 1.2+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
a5a8d99c7e61725ffcf96ff846dc421ee161cc6d27ec7c5a4186b05cce8cb995
|
|
BLAKE2b-256 checksum How to use checksums |
751183a5bc9825e25cd92d81987b755f960a2d2512b3193e07c5edb6bac4a88e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_armv7l.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Linux musl 1.2+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
ffbd248e9144f1c913affd02b19bde1a0ac5cf1d514208b89db8f64467e33b83
|
|
BLAKE2b-256 checksum How to use checksums |
57f8eabfd6156b2eed6b286a51ecd474b280a66364df00f7441e5826251c77ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-musllinux_1_2_aarch64.whl
| Download URL | gn_dist-2407-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
f9f475c076b9569fa0d1e8fab7c11411a0f78329d6327a58ff23f9275e5fa462
|
|
BLAKE2b-256 checksum How to use checksums |
e37aa24cce75e2bdbacc45f69a5af958fd7770244537dac371151330b2d1e0e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_39_riscv64.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_39_riscv64.whl |
|---|---|
| Size | 988.3 kB |
| Tags | Linux glibc 2.39+ RISC-V 64 Python 3 |
|
SHA-256 checksum How to use checksums |
46e88d6a33d3e631eb3fab9e8d349fcfaf3055fdcc7e6e13335d21122a6db5e8
|
|
BLAKE2b-256 checksum How to use checksums |
5688a6eaf592b82b6e9969e7b4cddc905492b73bd5f18827534ca04e3699cdb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_35_armv7l.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_35_armv7l.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Linux glibc 2.35+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
7ac95288061ac16ea0fc7aaf5ef5a3dc1de3aab4f3976390b034059cd97e2c57
|
|
BLAKE2b-256 checksum How to use checksums |
cac8fc9bbfeab8b9a8e63ad6f6aceccc5699cfac2e1336bbe714956ac0386043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_26_i686.manylinux_2_28_i686.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_26_i686.manylinux_2_28_i686.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Linux glibc 2.26+ x86-32 Linux glibc 2.28+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
5ef2c5b93b11c5662d8f329affebad174742d387ea3d8b7ed61f4bb8ef213ae9
|
|
BLAKE2b-256 checksum How to use checksums |
4b3deb5423bcb016a114c467f5b2a358eaa2eac02628628bbd0aeda60a1aef21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
c1505f36b681988af8e12d504a8c30f6af09a81cb42b22375af8fc67b3f5f2ff
|
|
BLAKE2b-256 checksum How to use checksums |
b5623648af81ad0c88c93988659a24ac67126c8862ef505500cc4e387db59197
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_24_s390x.manylinux_2_28_s390x.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_24_s390x.manylinux_2_28_s390x.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Linux glibc 2.24+ IBM System/390x Linux glibc 2.28+ IBM System/390x Python 3 |
|
SHA-256 checksum How to use checksums |
20dcb42bf71e9f6457508e8111f559e8ba1f900fb7f389c41c832bfcf5804086
|
|
BLAKE2b-256 checksum How to use checksums |
5ed67bfb6d31b5b12b65b38d0e55b18300de7a46ae123f381da3e2fe2539e5a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Linux glibc 2.24+ PowerPC 64-le Linux glibc 2.28+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
93efad8c8dbe114402db52acf98c0ce72684caf57ffb24cb0242635ff01613ee
|
|
BLAKE2b-256 checksum How to use checksums |
2714fb864a68b8dce295535a78caec7932f16d3fd21942be6d585554e877a668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / gn_dist-2407-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | gn_dist-2407-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
40ddd48d2c02cd8679effc16601c4d2868ee5603b6f71c45818f569bb6b2d745
|
|
BLAKE2b-256 checksum How to use checksums |
cb2150818f3e06f987e8a75f580d59194254cfadce0077fee95a7dd308b37e7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logSecurity for gn-dist 2407
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for gn_dist-2407.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.