mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 04:48:18 +00:00
Add --python-platform to configuration (#3147)
## Summary Just for consistency with `--python-version`.
This commit is contained in:
parent
5e4e2fa0bf
commit
70b6bde254
10 changed files with 128 additions and 28 deletions
|
|
@ -4,7 +4,9 @@ use serde::Deserialize;
|
|||
|
||||
use distribution_types::{FlatIndexLocation, IndexUrl};
|
||||
use install_wheel_rs::linker::LinkMode;
|
||||
use uv_configuration::{ConfigSettings, IndexStrategy, KeyringProviderType, PackageNameSpecifier};
|
||||
use uv_configuration::{
|
||||
ConfigSettings, IndexStrategy, KeyringProviderType, PackageNameSpecifier, TargetTriple,
|
||||
};
|
||||
use uv_normalize::{ExtraName, PackageName};
|
||||
use uv_resolver::{AnnotationStyle, ExcludeNewer, PreReleaseMode, ResolutionMode};
|
||||
use uv_toolchain::PythonVersion;
|
||||
|
|
@ -70,6 +72,7 @@ pub struct PipOptions {
|
|||
pub legacy_setup_py: Option<bool>,
|
||||
pub config_settings: Option<ConfigSettings>,
|
||||
pub python_version: Option<PythonVersion>,
|
||||
pub python_platform: Option<TargetTriple>,
|
||||
pub exclude_newer: Option<ExcludeNewer>,
|
||||
pub no_emit_package: Option<Vec<PackageName>>,
|
||||
pub emit_index_url: Option<bool>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue