[][src]Function pyoxidizerlib::projectmgmt::add_pyoxidizer

pub fn add_pyoxidizer(
    project_dir: &Path,
    _suppress_help: bool
) -> Result<(), String>

Add PyOxidizer to an existing Rust project on the filesystem.

The target directory must not already have PyOxidizer files. This will be verified during execution.

When called, various Rust source files required to embed Python are created at the target directory. Instructions for finalizing the configuration are also printed to stdout.

The Rust source files added to the target project are installed into a sub-directory defined by module_name. This is typically pyembed.