Donald Stufft wrote:
python -c "import distutils; print(distutils.util.get_platform().replace('.', '_').replace('-', '_'))" macosx_10_8_x86_64
Hmm, this just appears to reflect the version of MacOSX that the Python running distutils was built on, or is running on (not sure which). This is not quite the same thing as MACOSX_DEPLOYMENT_TARGET, which is the minimum version of MacOSX that is needed to run a piece of code. Distutils seems to assume they're the same, but if you're building a binary wheel for distribution, it makes sense to set MACOSX_DEPLOYMENT_TARGET as low as possible. Will there be a mechanism to get the actual MacOSX version needed into the metadata, rather than the one you happen to be building on? -- Greg _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig