curved-television-6568
07/23/2021, 11:58 AMplatforms
, does it not matter if it is a hyphen or underscore between system and arch?
https://www.pantsbuild.org/v2.7/docs/reference-pex_binary#codeplatformscode
The examples shown use both..
Platforms should be in the format defined by Pex (https://pex.readthedocs.io/en/latest/buildingpex.html#platform), i.e. PLATFORM-IMPL-PYVER-ABI (e.g. “linux_x86_64-cp-27-cp27mu”, “macosx_10.12_x86_64-cp-36-cp36m”):
PLATFORM: the host platform, e.g. “linux-x86_64”, “macosx-10.12-x86_64".
curved-television-6568
07/23/2021, 11:59 AMcurved-television-6568
07/23/2021, 12:00 PMyou can specify something likeorlinux-x86_64
macosx-10.6-x86_64
[…] A complete example:.linux_x86_64-cp-36-cp36m
curved-television-6568
07/23/2021, 12:04 PMpex: error: argument --platform: linux-x86_64 is an invalid platform:
Not a valid platform specifier: linux-x86_64
Platform strings must be in one of two forms:
1. Canonical: <platform>-<python impl abbr>-<python version>-<abi>
2. Abbreviated: <platform>-<python impl abbr>-<python version>-<abbr abi>
[…]
hundreds-father-404
07/23/2021, 12:23 PMcurved-television-6568
07/23/2021, 12:29 PMcurved-television-6568
07/23/2021, 12:30 PMcurved-television-6568
07/23/2021, 12:30 PMThe platform to build the pex for. Right now it defaults to the current system, but you can specify something likeorlinux-x86_64
. This will look for bdists for the particular platform.macosx-10.6-x86_64
curved-television-6568
07/23/2021, 12:31 PM… To resolve wheels for specific interpreter/platform tags, you can append them