Function maturin::source_distribution[][src]

pub fn source_distribution(
    wheel_dir: impl AsRef<Path>,
    metadata21: &Metadata21,
    manifest_path: impl AsRef<Path>,
    cargo_metadata: &Metadata,
    sdist_include: Option<&Vec<String>>
) -> Result<PathBuf>
Expand description

Creates aif source distribution, packing the root crate and all local dependencies

The source distribution format is specified in PEP 517 under “build_sdist” and in https://packaging.python.org/specifications/source-distribution-format/#source-distribution-file-format