python-starlark-go icon indicating copy to clipboard operation
python-starlark-go copied to clipboard

Try again with Windows

Open jordemort opened this issue 2 years ago • 1 comments

jordemort avatar Jan 23 '23 03:01 jordemort

Compiling windows is indeed a nightmare. this is how I previously solved it with a project of mine: https://github.com/raptor-ml/raptor/blob/c8c6602cbb9d8ffd32b2e9942518626186a08c0e/.github/workflows/labsdk-release.yaml

https://github.com/raptor-ml/raptor/blob/c8c6602cbb9d8ffd32b2e9942518626186a08c0e/labsdk/setup.py

I basically forced compilation with MinGW's gcc, then did bunch of hacky configurations to fix it. TBH, I don't remember half of it, and not a regular user... but this can be a good reference :)

Notice that I used github.com/go-python/gopy for automatically generate the bindings instead of elegantly writing them as you did...

AlmogBaku avatar Aug 04 '24 09:08 AlmogBaku