Struct pyo3_pack::BuildOptions[][src]

pub struct BuildOptions {
    pub interpreter: Vec<String>,
    pub bindings: Option<String>,
    pub manifest_path: PathBuf,
    pub out: Option<PathBuf>,
    pub debug: bool,
    pub skip_auditwheel: bool,
    pub cargo_extra_args: Vec<String>,
    pub rustc_extra_args: Vec<String>,
}

High level API for building wheels from a crate which can be also used for the CLI

Fields

The python versions to build wheels for, given as the names of the interpreters. Uses autodiscovery if not explicitly set.

The crate providing the python bindings. pyo3, rust-cpython and cffi are supported

The path to the Cargo.toml

The directory to store the built wheels in. Defaults to a new "wheels" directory in the project's target directory

Do a debug build (don't pass --release to cargo)

Don't check for manylinux compliance

Extra arguments that will be passed to cargo as cargo rustc [...] [arg1] [arg2] --

Extra arguments that will be passed to rustc as cargo rustc [...] -- [arg1] [arg2]

Methods

impl BuildOptions
[src]

Tries to fill the missing metadata in BuildContext by querying cargo and python

Trait Implementations

impl Debug for BuildOptions
[src]

Formats the value using the given formatter. Read more

impl StructOpt for BuildOptions
[src]

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

impl Clone for BuildOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for BuildOptions
[src]

impl PartialEq for BuildOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for BuildOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations