From 8f4228935249ef1370273291395e5c240a15e171 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Sat, 6 Jan 2018 23:19:03 +0100 Subject: [PATCH] gopy: make cffi the default backend --- cmd_bind.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd_bind.go b/cmd_bind.go index bee9872..c674684 100644 --- a/cmd_bind.go +++ b/cmd_bind.go @@ -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") diff --git a/main.go b/main.go index c8d1eec..b57b824 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( ) const ( - defaultPyVersion = "py2" + defaultPyVersion = "cffi" ) var (