mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 13:58:29 +00:00
Allow no-op --no-compile
flag on CLI (#2816)
Closes https://github.com/astral-sh/uv/issues/2771.
This commit is contained in:
parent
8eaaf65456
commit
e0d55ef496
1 changed files with 8 additions and 0 deletions
|
@ -677,6 +677,10 @@ struct PipSyncArgs {
|
|||
#[clap(long)]
|
||||
compile: bool,
|
||||
|
||||
/// Don't compile Python files to bytecode.
|
||||
#[clap(long, hide = true, conflicts_with = "compile")]
|
||||
no_compile: bool,
|
||||
|
||||
/// Settings to pass to the PEP 517 build backend, specified as `KEY=VALUE` pairs.
|
||||
#[clap(long, short = 'C', alias = "config-settings")]
|
||||
config_setting: Vec<ConfigSettingEntry>,
|
||||
|
@ -938,6 +942,10 @@ struct PipInstallArgs {
|
|||
#[clap(long)]
|
||||
compile: bool,
|
||||
|
||||
/// Don't compile Python files to bytecode.
|
||||
#[clap(long, hide = true, conflicts_with = "compile")]
|
||||
no_compile: bool,
|
||||
|
||||
/// Settings to pass to the PEP 517 build backend, specified as `KEY=VALUE` pairs.
|
||||
#[clap(long, short = 'C', alias = "config-settings")]
|
||||
config_setting: Vec<ConfigSettingEntry>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue