diff --git a/crates/uv/src/commands/pip_install.rs b/crates/uv/src/commands/pip_install.rs index 85b73c0d5..0a11ec701 100644 --- a/crates/uv/src/commands/pip_install.rs +++ b/crates/uv/src/commands/pip_install.rs @@ -135,6 +135,10 @@ pub(crate) async fn pip_install( // Apply any `--target` directory. let venv = if let Some(target) = target { + debug!( + "Using `--target` directory at {}", + target.root().user_display() + ); target.init()?; venv.with_target(target) } else { diff --git a/crates/uv/src/commands/pip_sync.rs b/crates/uv/src/commands/pip_sync.rs index f8482dc40..36ab75785 100644 --- a/crates/uv/src/commands/pip_sync.rs +++ b/crates/uv/src/commands/pip_sync.rs @@ -115,6 +115,10 @@ pub(crate) async fn pip_sync( // Apply any `--target` directory. let venv = if let Some(target) = target { + debug!( + "Using `--target` directory at {}", + target.root().user_display() + ); target.init()?; venv.with_target(target) } else { diff --git a/crates/uv/src/commands/pip_uninstall.rs b/crates/uv/src/commands/pip_uninstall.rs index 93e7f9b58..0a8ebffc5 100644 --- a/crates/uv/src/commands/pip_uninstall.rs +++ b/crates/uv/src/commands/pip_uninstall.rs @@ -57,6 +57,10 @@ pub(crate) async fn pip_uninstall( // Apply any `--target` directory. let venv = if let Some(target) = target { + debug!( + "Using `--target` directory at {}", + target.root().user_display() + ); target.init()?; venv.with_target(target) } else {