[−][src]Struct pyo3_pack::BuildOptions
High level API for building wheels from a crate which is also used for the CLI
Fields
manylinux: ManylinuxControl the platform tag on linux.
1: Use the manylinux1 tag and check for compliance{n}1-unchecked: Use the manylinux1 tag without checking for compliance{n}2010: Use the manylinux2010 tag and check for compliance{n}2010-unchecked: Use the manylinux1 tag without checking for compliance{n}off: Use the native linux tag (off)
This option is ignored on all non-linux platforms
interpreter: Vec<String>The python versions to build wheels for, given as the names of the interpreters. Uses autodiscovery if not explicitly set.
bindings: Option<String>Which kind of bindings to use. Possible values are pyo3, rust-cpython, cffi and bin
manifest_path: PathBufThe path to the Cargo.toml
out: Option<PathBuf>The directory to store the built wheels in. Defaults to a new "wheels" directory in the project's target directory
skip_auditwheel: bool[deprecated, use --manylinux instead] Don't check for manylinux compliance
target: Option<String>The --target option for cargo
cargo_extra_args: Vec<String>Extra arguments that will be passed to cargo as cargo rustc [...] [arg1] [arg2] --
Use as --cargo-extra-args="--my-arg"
rustc_extra_args: Vec<String>Extra arguments that will be passed to rustc as cargo rustc [...] -- [arg1] [arg2]
Use as --rustc-extra-args="--my-arg"
Methods
impl BuildOptions[src]
pub fn into_build_context(
self,
release: bool,
strip: bool
) -> Result<BuildContext, Error>[src]
self,
release: bool,
strip: bool
) -> Result<BuildContext, Error>
Tries to fill the missing metadata for a BuildContext by querying cargo and python
Trait Implementations
impl Default for BuildOptions[src]
impl Clone for BuildOptions[src]
fn clone(&self) -> BuildOptions[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for BuildOptions[src]
impl PartialEq<BuildOptions> for BuildOptions[src]
fn eq(&self, other: &BuildOptions) -> bool[src]
fn ne(&self, other: &BuildOptions) -> bool[src]
impl Debug for BuildOptions[src]
impl<'de> Deserialize<'de> for BuildOptions where
BuildOptions: Default, [src]
BuildOptions: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for BuildOptions[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructOpt for BuildOptions[src]
fn clap<'a, 'b>() -> App<'a, 'b>[src]
fn from_clap(matches: &ArgMatches) -> Self[src]
fn from_args() -> Self[src]
Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
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
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec of your making. Read more
Auto Trait Implementations
impl Send for BuildOptions
impl Sync for BuildOptions
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,