Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: allow to overwrite macOS platform tag via _PYTHON_HOST_PLATFORM
Use sysconfig.get_platform() instead of platform.mac_ver() to base the platform tag computation. The ability to overwrite the value returned by former via the _PYTHON_HOST_PLATFORM environment variable is used in macOS extension modules cross-compilation. See mesonbuild#222 for background.
- Loading branch information