Function pyoxidizerlib::project_layout::initialize_project[][src]

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

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.