[][src]Function pyoxidizerlib::projectmgmt::init

pub fn init(
    project_path: &str,
    code: Option<&str>,
    pip_install: &[&str]
) -> Result<(), String>

Initialize a new Rust project with PyOxidizer support.

code can specify custom Python code to run by default in the new application.

pip_install can specify Python packages to pip install for the application.