PyOxidizer icon indicating copy to clipboard operation
PyOxidizer copied to clipboard

Allow persistent pyembed runtime projects

Open Skehmatics opened this issue 1 year ago • 2 comments

Allow the use of pyoxidizer's build system in a project created via init-rust-project.

This adds a runtime option to PythonDistribution.to_python_executable() that specifies the path of the Rust project, and defines it during init-rust-project

With this, applications that are happy to continue utilizing pyoxidizer's python resource discovery system can continue doing so while still allowing custom Rust code to be included in the final executable.

Closes #335

Skehmatics avatar Sep 19 '23 13:09 Skehmatics

Very timely, thank you. I just started looking at PyOxidizer this week and thought I was going crazy when I couldn't get the persistent build to work.

chris-laplante avatar Sep 29 '23 14:09 chris-laplante

Commenting back to say that this patch worked fine for me. Thanks! @indygreg would love to see this get merged.

chris-laplante avatar Oct 02 '23 16:10 chris-laplante