go-python / gopy

gopy generates a CPython extension module from a go package.
BSD 3-Clause "New" or "Revised" License
2.05k stars 113 forks source link

Enhancement request: enable manylinux builds #336

Open brosenfi opened 1 year ago

brosenfi commented 1 year ago

As of this writing I believe gopy does not support manylinux builds due to the fact that it requires libpython (libpython*.so) to be present. Manylinux builds are against static Python (see https://github.com/pypa/manylinux/issues/255 and https://github.com/pypa/manylinux/issues/30 for details). Can gopy be enhanced to build modules against static Python instead of the current libpython setup? I will look into a contribution for this if one of the regular maintainers thinks that it's feasible.