nginx-wheel
nginx-wheel packages nginx 1.31.3 binaries and exposes them as an
nginx-wheel command in the Python environment.
The nginx-wheel packaging code is BSD 2-Clause licensed. The bundled nginx
binaries include nginx and third-party modules under their own licenses; see
THIRD_PARTY_LICENSES.md.
Supported binaries:
| Platform | Architecture | Packaged file |
|---|---|---|
| Linux | x86_64 | nginx-1.31.3-x86_64-linux |
| Linux | aarch64 | nginx-1.31.3-aarch64-linux |
| macOS | arm64 | locally built from nginx-1.31.3 source |
| Windows | x86_64 | nginx-1.31.3-x86_64-win32.exe |
The Linux and Windows binaries come from https://github.com/jirutka/nginx-binaries. The macOS arm64 binary is built locally from the nginx 1.31.3 source tree so that its deployment target can be set to macOS 11.0.
After installation, run:
nginx-wheel -V
Each platform wheel contains only the matching nginx binary. The installed
nginx-wheel console entry point resolves that binary, then replaces the Python
process with it on POSIX platforms. It intentionally does not install an
nginx command, so it will not shadow a system or user-installed nginx.
Linux glibc
The packaged Linux x86_64 and aarch64 binaries are statically linked ELF
executables. A local strings check found no GLIBC_ version references, so
these binaries do not declare a dynamic glibc symbol-version requirement.
macOS deployment target
The packaged macOS arm64 binary is built locally from nginx 1.31.3 source using
the nginx module set from nginx-binaries, with
MACOSX_DEPLOYMENT_TARGET=11.0 and -mmacosx-version-min=11.0. Local checks
show LC_BUILD_VERSION minos 11.0, and otool -L lists only
/usr/lib/libSystem.B.dylib.
Build
python scripts/build_wheels.py
This produces platform-tagged wheels for all supported targets in dist/.
To build just one wheel, set NGINX_WHEEL_TARGET to one of
linux-x86_64, linux-aarch64, macos-arm64, or windows-x86_64, then run:
NGINX_WHEEL_TARGET=macos-arm64 python -m pip wheel . -w dist --no-deps
Release files for nginx-wheel 1.31.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| nginx_wheel-1.31.3-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| nginx_wheel-1.31.3-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| nginx_wheel-1.31.3-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| nginx_wheel-1.31.3-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 11.6 MB
Release files / nginx_wheel-1.31.3-py3-none-win_amd64.whl
| Download URL | nginx_wheel-1.31.3-py3-none-win_amd64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
741f8dfe43195aea8cb6eda525b17e0925b90a5883c93f1628b41ee90f8d1e44
|
|
BLAKE2b-256 checksum How to use checksums |
9abd8cbb2ce6375253a962564a8a00b6ef05d27e4388457da5aae3ee68c7d005
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.7
|
Release files / nginx_wheel-1.31.3-py3-none-manylinux_2_17_x86_64.whl
| Download URL | nginx_wheel-1.31.3-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
35cde7509d8d3cb5c7db804b25524a6561749d73d84056dad38eb93450fe8ef8
|
|
BLAKE2b-256 checksum How to use checksums |
01ef70d1a54b6e49d3ca45cc21a1882f52ae3e35cb846c5df332043c77e7380d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.7
|
Release files / nginx_wheel-1.31.3-py3-none-manylinux_2_17_aarch64.whl
| Download URL | nginx_wheel-1.31.3-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
5673939edf6bad35fcfef91adf4a7cc8076364ad2f30264bf920b83dd7b3a98d
|
|
BLAKE2b-256 checksum How to use checksums |
cbeebcb9cf54b8c0ff7cf404e6cb035bdf19d41f9eb3ab4b10257c6b24c4b180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.7
|
Release files / nginx_wheel-1.31.3-py3-none-macosx_11_0_arm64.whl
| Download URL | nginx_wheel-1.31.3-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ef70fd15629f672de37229fb3292e23739f4c2226675ee9b060bd2804c4767d2
|
|
BLAKE2b-256 checksum How to use checksums |
273b147d1df06c361bd348a92fed7682e5dff2664b5216375af0588377006391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.7
|