Skip to content
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

ci: add Windows x64 wheels #47

Merged
merged 1 commit into from
Oct 30, 2023
Merged

ci: add Windows x64 wheels #47

merged 1 commit into from
Oct 30, 2023

Conversation

Master-Hash
Copy link
Contributor

@Master-Hash Master-Hash commented Oct 28, 2023

Also aim to fix #24.
Thanks @plusiv for #46 (comment), where he came up with the solution.

It's a little bit tricky: maybe make cannot work with vcvars64.bat to modify the env, so I use a long before-build.

And I don't know how to choose from vcvars64.bat and vcvars32.bat by the OS arch. So only x64 wheels are available.


Some questions:

  • Why do we include .o, .cpp, .c, .h files in the wheels? Afaik, ada works well without them.
  • pip install ada_url --no-binary ada_url will fail (on both Linux and Windows) because of the absence of ada.o, same as Feat: add windows wheels #46 (comment). Maybe we can open a new issue for this?

Microsoft Visual C++ 2015-2022 Redistributable is needed at runtime.

@plusiv plusiv mentioned this pull request Oct 28, 2023
@bbayles
Copy link
Collaborator

bbayles commented Oct 29, 2023

Excellent! I'll get a Windows machine to test this on.

Copy link
Collaborator

@bbayles bbayles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this - many thanks.

@bbayles bbayles merged commit a3bbeaa into ada-url:main Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build wheels for Windows
2 participants