gopy: make cffi the default backend

This commit is contained in:
Sebastien Binet 2018-01-06 23:19:03 +01:00
parent 2d30b71938
commit 8f42289352
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ ex:
Flag: *flag.NewFlagSet("gopy-bind", flag.ExitOnError),
}
cmd.Flag.String("lang", defaultPyVersion, "python version to use for bindings (python2|py2|python3|py3)")
cmd.Flag.String("lang", defaultPyVersion, "python version to use for bindings (python2|py2|python3|py3|cffi)")
cmd.Flag.String("output", "", "output directory for bindings")
cmd.Flag.Bool("symbols", true, "include symbols in output")
cmd.Flag.Bool("work", false, "print the name of temporary work directory and do not delete it when exiting")

View File

@ -13,7 +13,7 @@ import (
)
const (
defaultPyVersion = "py2"
defaultPyVersion = "cffi"
)
var (