-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Platform tag when MACOSX_DEPLOYMENT_TARGET is set #312
Comments
Would you like to make a PR (with test[s])? |
I can try. |
@agronholm I found other way to achieve this in other way. MacOs library header contains information about minimal system version. I wrote the code which extract this information from file. But I do not know how find information about list of files included to wheel to extract all |
Presumably you need to look at the files about to be zipped by |
@agronholm I have created pull request #314 |
On MacOs., by default Platform Tag is set to Python platform tag version https://docs.python.org/3/distutils/apiref.html#distutils.util.get_platform
But developer can set MACOSX_DEPLOYMENT_TARGET to another version (eg, to use newer API). So can build python package which will not work on MacOs version suggested by platform tag.
Of course it can be overwritten by
-p
flag, but I think that it should be out of box.Maybe some change like (https://github.com/pypa/wheel/blob/master/wheel/pep425tags.py):
The text was updated successfully, but these errors were encountered: