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

DRAFT: Trying stuff out for shared library for go code. #234

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

JanEricNitschke
Copy link
Collaborator

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.

@JanEricNitschke
Copy link
Collaborator Author

JanEricNitschke commented May 1, 2023

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

@JanEricNitschke JanEricNitschke linked an issue May 3, 2023 that may be closed by this pull request
@JanEricNitschke
Copy link
Collaborator Author

Adding more resources for when i can get back to this: https://last9.io/blog/using-golang-package-in-python-using-gopy/

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.

Add shared library for Go code
2 participants