fn configure_pyo3() -> Result<()> {
    let interpreter_config = pyo3_build_config::get();

    interpreter_config.emit_pyo3_cfgs();

    ensure_auto_initialize_ok(interpreter_config)?;

    // Emit cfgs like `addr_of` and `min_const_generics`
    print_feature_cfgs();

    Ok(())
}
/// Prepares the PyO3 crate for compilation.
///
/// This loads the config from pyo3-build-config and then makes some additional checks to improve UX
/// for users.
///
/// Emits the cargo configuration based on this config as well as a few checks of the Rust compiler
/// version to enable features which aren't supported on MSRV.
Prepares the PyO3 crate for compilation.
This loads the config from pyo3-build-config and then makes some additional checks to improve UX
for users.

Emits the cargo configuration based on this config as well as a few checks of the Rust compiler
version to enable features which aren't supported on MSRV.
Prepares the PyO3 crate for compilation . This loads the config from pyo3 - build - config and then makes some additional checks to improve UX for users . Emits the cargo configuration based on this config as well as a few checks of the Rust compiler version to enable features which aren ' t supported on MSRV .
fn configure_pyo3() -> Result<()> {
    let interpreter_config = pyo3_build_config::get();
    interpreter_config.emit_pyo3_cfgs();
    ensure_auto_initialize_ok(interpreter_config)?;
    // Emit cfgs like `addr_of` and `min_const_generics`
    print_feature_cfgs();
    Ok(())
}
fn configure_pyo3 ( ) -> Result < ( ) > { let interpreter_config = pyo3_build_config :: get ( ) ; interpreter_config . emit_pyo3_cfgs ( ) ; ensure_auto_initialize_ok ( interpreter_config ) ? ; // Emit cfgs like `addr_of` and `min_const_generics` print_feature_cfgs ( ) ; Ok ( ( ) ) }
Prepares the PyO3 crate for compilation.
Prepares the PyO3 crate for compilation .