-
Notifications
You must be signed in to change notification settings - Fork 103
Allow Windows x64 wheels to be built with python -m build
#6888
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
Conversation
@NicolasHug is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
python -m build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Should we also add test build for it ? Similar to https://github.com/pytorch/test-infra/blob/main/.github/workflows/test_build_wheels_windows_with_cuda.yml
Thanks for the review, I'll merge and will submit the test as a follow-up now |
This adds the
build-platform
andbuild-command
options to the windows wheel building scripts. These options are already present for both the linux and macos wheel building scripts. We need this for adding Windows support to torchcodec since we build wheels withpython -m build
, not withpython setup.py
.The corresponding PR in torchcodec is pytorch/torchcodec#753, which is green, so this seems to be working as expected.