gopy icon indicating copy to clipboard operation
gopy copied to clipboard

gopy generates a CPython extension module from a go package.

Results 75 gopy issues
Sort by recently updated
recently updated
newest added

``` $ which python3 /Users/lennard/miniconda3/bin/python3 $ python3 >>> from out import hi Traceback (most recent call last): File "", line 1, in File "/Users/lennard/PycharmProjects/hi/out/hi.py", line 17, in from . import...

C:\Users\Administrator\gotest>gopy build -output=out -vm=python3 hi.go --- Processing package: command-line-arguments --- no LibDir -- copy from IncDir: C:/Python38/libs no LibPy -- set to: python38 no LibDir -- copy from IncDir: C:/Python38/libs...

I'm trying to build a function which uses imported types as argument and as return type: ```go package request import "github.com/Danny-Dasilva/CycleTLS/cycletls" func Request(method string, url string, options cycletls.Options) (cycletls.Response, error)...

Couldn't install with go get either The Docker example does not work for my Mac M1 chip Getting this error: ``` (venv) jchan2@AU-F9DJ5W25WC ~ % cd $GOPATH/src/github.com/go-python/gopy/_examples/hi (venv) jchan2@AU-F9DJ5W25WC hi...

Hello, I'm getting this error trying to go get For reference I'm on an Apple m1 chip ``` go get github.com/go-python/gopy # github.com/go-python/gopy ../go/src/github.com/go-python/gopy/cmd_build.go:34:9: cannot use *flag.NewFlagSet("gopy-build", flag.ExitOnError) (variable of...

This link returns 404, is there any other reference about setup? ![image](https://user-images.githubusercontent.com/11306401/201836371-7f593887-93c7-4a63-8844-8de36ab8252a.png)

If anyone has any experience with appveyor -- we are installing pybindgen but then it cannot find it! No idea what is going on.

Error log: ``` PS E:\codes\edotcs\客户端-0.1.x-2设> gopy build -output=edotcs edotcs/src/edotcs go build -v edotcs/src/edotcs --- Processing package: edotcs/src/edotcs --- no LibDir -- copy from IncDir: C:/Python312/libs no LibPy -- set to:...

## Desired behaviour When building a go module, it is useful to have a version string "burned" into the binary. In go, this is accomplished by using the `go tool...