0

I am trying to create a Python package that depends on a library that is compile from Go source.

I am following the instructions specified at: Python setuptools/distutils custom build for the `extra` package with Makefile The idea is to compile Go code to create the library, then provide that library to setup tools to build a Python extension.

The library is compiled from a make rule, just like in the link above. I am getting this error when compiling:

vendor/golang.org/x/sys/unix/syscall_linux_gc.go:10:6: missing function body

Ratmil
  • 117
  • 8
  • Welcome to Stack Overflow! Please [edit] to add meaningful code and a problem description here. Posting a [mcve] that demonstrates your problem would help you get better answers. Thanks! – Morse Jun 28 '18 at 19:08
  • Solved adding *.go and *.s to manifest. – Ratmil Jun 29 '18 at 14:27

1 Answers1

0

Solved adding *.go and *.s to manifest:

recursive-include . *.s
recursive-include . *.go
Ratmil
  • 117
  • 8