awpy
awpy copied to clipboard
DRAFT: Trying stuff out for shared library for go code.
I managed to get gopy running locally for me on windows so that i can create a library and it works. But there is still a bunch of stuff i am not sure about.
If i just push the compiled library from my windows machine the windows workflows work. Makes sense.
But i dont know how to solve this when we want to push this via pip. Because to compile it from source go needs to be installed which kinda defeats the whole purpose. And i dont think there is a single way we can precompile this that works on all machines.
Maybe we have to include library for both windows and linux (and mac?)?
https://github.com/raptor-ml/raptor/blob/c8c6602cbb9d8ffd32b2e9942518626186a08c0e/labsdk/setup.py
Adding more resources for when i can get back to this: https://last9.io/blog/using-golang-package-in-python-using-gopy/