You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question for you: I'm using transonic with pythran, and everything's working great! Now I'd like to bundle my code (specifically use pyinstaller to create a self contained app), including the pre-compiled so files.
I'm guessing I'll have to include transonic in the list of modules that must be imported by pyinstaller, but I would like to make sure the precompiled so files are included so there's no compilation when the people use the bundled app.
In pythran, all I have to do is include the .so file and things work without a hitch. How can I do the same thing with transonic (i.e., ensure the .so are there, transonic finds them and does not try to recompile)?
The text was updated successfully, but these errors were encountered:
I don't see how it can be done now with the jit decorator... It would be a new feature.
However, with the boost decorator (ahead-of-time compilation), it's very simple. One just have to compile (with a setup.py, something like this) and to include the extension files in the package to be distributed (as for all tools which create extensions). Nothing special about Transonic.
Once the code works with jit, modifying it to use boost should not be too difficult because you can find the signatures (so the Pythran types) in the files generated by Transonic.
I have a question for you: I'm using transonic with pythran, and everything's working great! Now I'd like to bundle my code (specifically use pyinstaller to create a self contained app), including the pre-compiled so files.
I'm guessing I'll have to include transonic in the list of modules that must be imported by pyinstaller, but I would like to make sure the precompiled so files are included so there's no compilation when the people use the bundled app.
In pythran, all I have to do is include the .so file and things work without a hitch. How can I do the same thing with transonic (i.e., ensure the .so are there, transonic finds them and does not try to recompile)?
The text was updated successfully, but these errors were encountered: