3 ms·
Yeah, like the other commenter said, everything is in this file here: https://github.com/Dicklesworthstone/fast_vector_similarity/blob/main/.github/workflows/b
by eigenvalue 3y ago
Yeah, like the other commenter said, everything is in this file here:
https://github.com/Dicklesworthstone/fast_vector_similarity/blob/main/.github/workflows/build-wheels.yml https://github.com/Dicklesworthstone/fast_vector_similarity/...
If you also make your project using Rust and Maturin, you can literally just copy and paste that into your project because it's totally generic, and if the repo is public, GitHub will just run it all for you for free.
The only thing is you need to create an account on PyPi (pip) and add 2-Factor Auth so you can generate an API key. Then you go into the repo settings and go to secrets, and create a Github Actions secret with the name PYPI_API_TOKEN and make the value your PyPi token. That's it! It will not only compile all the wheels for you but even upload the project to PyPi for you using the settings found in your pyproject.toml file, like this:
https://github.com/Dicklesworthstone/fast_vector_similarity/blob/main/pyproject.toml https://github.com/Dicklesworthstone/fast_vector_similarity/...