-
Notifications
You must be signed in to change notification settings - Fork 151
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
bdist_wheel should support custom platform tags #144
Comments
Original comment by Andrés Díaz (Bitbucket: ajdiaz, GitHub: ajdiaz): Yep, I agree. I changed the argument name because the Timothy's comment in the issue recommended to change the argument name to be more close to the PEP notation and also because plat_name attribute is also used by distutil.cmd so to keep the variable will require more work. But in general, I agree that we should keep the original argumet name. I could try to fix that and update the PR if there are more comments about that. Thanks for the feedback!! |
Original comment by Nate Coraor (Bitbucket: natefoo, GitHub: natefoo): I found a bug in my changes that broke pure python wheels (they were no longer getting the |
Originally reported by: Timothy Allen (Bitbucket: OptiverTimAll, GitHub: OptiverTimAll)
Now that Pip automatically caches built wheels, and since the cache may be in a shared location, it would be useful to allow people to invent custom platform-tags so that wheels compiled for different scenarios can be kept apart.
This has been discussed in pip's issue tracker and in a distutils-sig thread, with positive reception in both. Some of the concrete use-cases listed include:
linux_x86_64
bdist_wheel
currently supports a--plat-name
option, but it has some unfortunate behavour: so far as I can tell, if you give it a custom platform name and build a pure-Python package, the option is silently ignored. On the other hand, if you build a package that includes a C module, the process dies with an assertion error.Perhaps
--plat-name
and its behaviour could be deprecated, and a new--platform-tag
option (named for consistency with--python-tag
and the terminology of PEP0425) that accepts any tag that meets the character set requirements (alphanumerics and underscores, if I read the PEP correctly).The text was updated successfully, but these errors were encountered: