Commit Graph

14 Commits

Author SHA1 Message Date
Achal Shah ad8b4c63dc feat: Add support for build tags
Signed-off-by: Achal Shah <achals@gmail.com>
2022-06-27 20:46:31 -07:00
pyalex 0b3020d970 use correct LD flags for shared mode
Signed-off-by: pyalex <moskalenko.alexey@gmail.com>
2022-06-24 13:51:53 -07:00
Justin Israel 8ab2cac131
main,bind,_examples: use absolute package imports and make configurable
This CL fixes an issue with the way python import statements are generated using an realtive current directory approach that is no longer compatible with python3. The default behavior has been updated to default to a dot-relative absolute package import for "go" and compiled extension, and a configuration option has been exposed from the CLI flags down to the bind package.
A refactor of configuration options was added to avoid further expanding the number of arguments being passed through the system.

Fixes go-python/gopy#239
2021-03-17 22:02:07 +01:00
Randall C. O'Reilly 8c4f9979b4 added exe command mode -- builds an executable that has all the go packages built-in and can interpreter in non-main thread. 2019-08-24 10:31:16 +02:00
Randall C. O'Reilly d8e3ff78f9 added pkg command, does full recursive generate for entire package -- figured out how to navigate python packages finally.. 2019-08-24 10:31:16 +02:00
Randall C. O'Reilly e85863e9ea fully functional for go pointers to structs 2019-08-24 10:31:16 +02:00
Sebastien Binet 1f9f33ff18 all: split unix/windows support 2019-01-16 10:58:11 +01:00
Edward Beech d4b4f9ee3a gopy: fix concurrent map writes during tests 2018-03-27 17:14:09 +02:00
Ramakrishnan G b8f9a2910c gopy: refactor main to assess coverage
- Refactor main() to be able to invoke with custom args from the test.
- Use run() method in unit test to make it possible to assess coverage
  using go test.
2018-03-27 17:14:09 +02:00
Sebastien Binet 6958ccb522 Revert "gopy: refactor main to assess coverage"
This reverts commit 9bc9ecdb00.
2018-03-26 11:19:22 +02:00
Ramakrishnan G 9bc9ecdb00 gopy: refactor main to assess coverage
- Refactor main() to be able to invoke with custom args from the test.
- Use run() method in unit test to make it possible to assess coverage
  using go test.
2018-01-25 17:39:45 +01: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 744ab46aef all: gopy-gen -> gopy 2015-07-24 16:16:31 +02:00
Sebastien Binet 9d0889d184 gopy-gen: first import 2015-01-30 18:01:15 +01:00