Commit Graph

15 Commits

Author SHA1 Message Date
Sebastien Binet 7138b3be0b gopy: add -work switch to gopy-bind 2017-08-10 17:01:26 +02:00
Sebastien Binet 0ab5a46669 gopy: apply golint fixes 2017-08-10 09:11:48 +02:00
Emil Lerch 3b8a754b6c bind: add support for symbol removal 2017-07-16 15:19:44 +02:00
Dong-hee Na f3d235ef40 gopy: go-1.9 requires exactly one main package for c-shared libs
Fix: go-python/gopy#108
2017-06-27 06:54:34 +00:00
Dong-hee Na 2bad8a4b16 bind, gencffi: Remove generating builders and support Vars and Consts.
- Remove the generating builder python script.
- Now, genCFFI interface is same as the genCpy.
- Support builtin-types Vars and Consts.
- Pass empty.go
- Pass cgo.go
- Pass vars.go
- Pass consts.go

Updates: go-python/gopy#102
2017-06-14 09:52:02 +00:00
Dong-hee Na 6456a228f7 gopy, bind: add initial boilerplate code for cffi support
This CL adds the initial infrastructure to support CFFI as a backend for gopy.
It also adds the necessary dependencies for Travis-CI to test CFFI.

Updates go-python/gopy#48
Fixes go-python/gopy#87
2017-06-08 15:56:49 +00:00
Sebastien Binet c4d5a9cd7c gopy: harmonize default py-version for gopy cmds
Fixes #66.

Change-Id: I6f9f535c5a78c2e26d3c7f386999505c0339815c
2015-09-11 08:26:37 +02:00
Sebastien Binet 6422285aab gopy: run go-get on package to wrap to handle deps
Change-Id: If030e5c4bab1401227e2e826c80b61d3053ad743
2015-09-02 17:13:33 +02:00
Sebastien Binet b5d2fd33ab gopy: reduce verbosity
Change-Id: I5b64e9eea02c4f03e49430133c96330071ad4344
2015-08-07 13:43:21 +02:00
Sebastien Binet 086ef0f72f gopy: reduce verbosity
Change-Id: I7a6e41dfe0e3c052022829ec873e01c906d62a8f
2015-08-06 18:35:37 +02:00
Sebastien Binet a84d49f72b gopy: improve gopy-bind performances
Previously, all the dependencies of the package one wanted to wrap+bind were
re-compiled (including the package to be wrapped). Every single time.
Run `go install -buildmode=c-shared <pkg>` first to cache all of this, and then
run `go build   -buildmode=c-shared -o <pkg>.so`.

Fixes #29

Change-Id: I2120d5dd22a4828d952b0681eadde826dff0d586
2015-08-06 18:32:30 +02:00
Sebastien Binet 63c5bca8e1 gopy: proper handling of lang option
This CL introduces a split in handling of {py|py2|py3}{thon,}.
It also lifts up the bind.Package creation so the processing is done only once.

Change-Id: I946605fb24885df986baa77088f76df90ff4d168
2015-08-03 14:26:34 +02:00
Sebastien Binet 00ab8b2506 all: add copyright headers
Change-Id: Ia0cebb003a350b753766dd26887fcd63e83b0d46
2015-08-03 14:23:00 +02:00
Sebastien Binet 2dcedc58eb all: better clean-up after gopy bind 2015-07-24 16:26:27 +02:00
Sebastien Binet 744ab46aef all: gopy-gen -> gopy 2015-07-24 16:16:31 +02:00