Skip to content

Commit 234d188

Browse files
authored
virtualenvwrapper support in ts layer of native locator (#23390)
1 parent 0f1a001 commit 234d188

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

native_locator/src/messaging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Clone for EnvManager {
4444
Self {
4545
executable_path: self.executable_path.clone(),
4646
version: self.version.clone(),
47-
tool: self.tool,
47+
tool: self.tool.clone(),
4848
}
4949
}
5050
}

src/client/pythonEnvironments/base/locators/lowLevel/nativeLocator.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ function categoryToKind(category: string): PythonEnvKind {
5151
return PythonEnvKind.Pipenv;
5252
case 'pyenvvirtualenv':
5353
return PythonEnvKind.VirtualEnv;
54+
case 'virtualenvwrapper':
55+
return PythonEnvKind.VirtualEnvWrapper;
5456
case 'windowsstore':
5557
return PythonEnvKind.MicrosoftStore;
5658
default: {

0 commit comments

Comments
 (0)