From 0233a5771df55c4e29c85e4c34a72ffc6b23efba Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 1 Mar 2024 16:17:30 -0500 Subject: [PATCH] Remove `base-prefix` and friends from `pyvenv.cfg` (#2120) ## Summary It looks like these have been included since the very first gourgeist commit, but `virtualenv` and `venv` don't include them, and they only add complexity AFAICT. --- crates/uv-virtualenv/src/bare.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/crates/uv-virtualenv/src/bare.rs b/crates/uv-virtualenv/src/bare.rs index 2bdbe6706..c79f1dfd4 100644 --- a/crates/uv-virtualenv/src/bare.rs +++ b/crates/uv-virtualenv/src/bare.rs @@ -246,18 +246,6 @@ pub fn create_bare_venv( "false".to_string() }, ), - ( - "base-prefix".to_string(), - interpreter.base_prefix().to_string_lossy().to_string(), - ), - ( - "base-exec-prefix".to_string(), - interpreter.base_exec_prefix().to_string_lossy().to_string(), - ), - ( - "base-executable".to_string(), - base_python.to_string_lossy().to_string(), - ), ] .into_iter() .chain(extra_cfg)