Return `` - `` for this host, or None if unsupported.
()
| 40 | |
| 41 | |
| 42 | def _host_slug() -> str | None: |
| 43 | """Return ``<plat>-<arch>`` for this host, or None if unsupported.""" |
| 44 | plat = _PLATFORMS.get(sys.platform) |
| 45 | arch = _ARCHES.get(platform.machine().lower()) |
| 46 | if plat is None or arch is None: |
| 47 | return None |
| 48 | return f"{plat}-{arch}" |
| 49 | |
| 50 | |
| 51 | def _binary_name() -> str: |