Function initialize_project

Source
pub fn initialize_project(
    source: &PyOxidizerSource,
    project_path: &Path,
    cargo_exe: &Path,
    code: Option<&str>,
    pip_install: &[&str],
    windows_subsystem: &str,
) -> Result<()>
Expand description

Initialize a new Rust project using PyOxidizer.

The created binary application will have the name of the final path component.

windows_subsystem is the value of the windows_subsystem compiler attribute.