gopy generates a CPython extension module from a go package.
see https://github.com/go-python/gopy/pulls?q=is%3Apr+is%3Aclosed for recent PRs applied.
Thanks to @achals for -build-tags arg and @pyalex for GIL release while running Go functions.
Added by @pyalex:
"dynamic-link" (false by default) that changes flags used on linking stage (passed to ld).
When this flag is enabled instead of linking to python (via -l python3.x) we will use flags similar to what python itself uses during building extensions (see distutils.sysconfig.get_config_var("LDSHARED")). This allows packing the resulting .so / .dylib file into python package and distribute it via PyPi.
This has been already tested during publishing feast python package.
Thanks to @nishantsharma, variadic functions are now supported. Also .pyd files are included in the mainfest for setuptools, and the go tools version is updated to be compatible with go 1.18.
Should be working a lot better all around..
well tested in extensive use for exe mode.