Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Deployment docs #24

Open
Open

Description

@JeffSpies

Great library! Do you happen to have documentation/suggestions for the optimal way to deploy a library using go-python to users? Thanks!

Activity

  1. sbinet commented on Jun 29, 2015

    @sbinet
    Owner

    ATM, with go-1.4 (and the GC toolchain), the only way is to ship a single binary (say my-python) with all the go modules linked in, and replace your standard python executable with that binary (my-python.)
    ie: something like the cmd/go-python executable where the go modules have been imported and registered/exposed with the PyModule_xyz functions.

    with (the upcoming) go-1.5 and its c-shared buildmode, it will be possible to have dynamically loadable shared libraries, so a much more convenient modus operandi will be possible.
    I am working on this over there:
    https://github.com/go-python/gopy-gen

    there, you will get a much easier user story (I hope) and one which is much more in line with what gomobile will provide for java/android and objc/ios users.

    let me know whether that helps or not.
    -s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions