Add UV_VENV_SEED environment variable (#10715)

## Summary

Closes https://github.com/astral-sh/uv/issues/7655.
This commit is contained in:
Charlie Marsh 2025-01-17 12:08:55 -05:00 committed by GitHub
parent 8111650100
commit 1f29165796
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 3 deletions

View file

@ -2365,8 +2365,8 @@ pub struct VenvArgs {
/// Install seed packages (one or more of: `pip`, `setuptools`, and `wheel`) into the virtual environment.
///
/// Note `setuptools` and `wheel` are not included in Python 3.12+ environments.
#[arg(long)]
/// Note that `setuptools` and `wheel` are not included in Python 3.12+ environments.
#[arg(long, value_parser = clap::builder::BoolishValueParser::new(), env = EnvVars::UV_VENV_SEED)]
pub seed: bool,
/// Preserve any existing files or directories at the target path.