Otherwise wheels published for the latest macOS (10.15) will not be
available on older platforms.
Wheels are published for target returned from
distutils.util.get_platform(), which in turn uses macOS helper module,
_osx_support, get_platform_osx() function, which allows the target
to be overridden via build-time config variable
MACOSX_DEPLOYMENT_TARGET (needs to be set before Python's built).
Otherwise wheels published for the latest macOS (10.15) will not be available on older platforms.
Wheels are published for target returned from
distutils.util.get_platform()
, which in turn uses macOS helper module,_osx_support
,get_platform_osx()
function, which allows the target to be overridden via build-time config variableMACOSX_DEPLOYMENT_TARGET
(needs to be set before Python's built).For more about macOS binary wheels and targets, see https://github.com/MacPython/wiki/wiki/Spinning-wheels.