GithubHelp home page GithubHelp logo

Comments (5)

mooreryan avatar mooreryan commented on July 21, 2024

This is a sort of hacky solution, but do you know about stickytape? It is a script that allows you to "rollup" all the imported modules of your python program into a single mega script. Then you (I think) should probably be able to use the mega-script as your interface instead of your original interface.

from ocaml_python_bindgen.

mooreryan avatar mooreryan commented on July 21, 2024

Check this example out: https://github.com/mooreryan/pyml_bindgen_stickytape_example

The executable that it generates is movable...it works on my computer from any directory, and even if I move it on to a different server, without having to mess around with the PYTHONPATH or anything.

from ocaml_python_bindgen.

UnixJunkie avatar UnixJunkie commented on July 21, 2024

from ocaml_python_bindgen.

UnixJunkie avatar UnixJunkie commented on July 21, 2024

I consider this question has been properly answered. I will try soon the proposed solution.

from ocaml_python_bindgen.

UnixJunkie avatar UnixJunkie commented on July 21, 2024

I think, this suggestion is great, but I will just use the unix cat command and achieve the same effect
in my gen_bindings.sh which invokes pyml_bindgen. :)

from ocaml_python_bindgen.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.