Skip to content

Commit 8f42289

Browse files
committed
gopy: make cffi the default backend
1 parent 2d30b71 commit 8f42289

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd_bind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ex:
3131
Flag: *flag.NewFlagSet("gopy-bind", flag.ExitOnError),
3232
}
3333

34-
cmd.Flag.String("lang", defaultPyVersion, "python version to use for bindings (python2|py2|python3|py3)")
34+
cmd.Flag.String("lang", defaultPyVersion, "python version to use for bindings (python2|py2|python3|py3|cffi)")
3535
cmd.Flag.String("output", "", "output directory for bindings")
3636
cmd.Flag.Bool("symbols", true, "include symbols in output")
3737
cmd.Flag.Bool("work", false, "print the name of temporary work directory and do not delete it when exiting")

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
defaultPyVersion = "py2"
16+
defaultPyVersion = "cffi"
1717
)
1818

1919
var (

0 commit comments

Comments
 (0)