Skip to content

Commit 0ce0701

Browse files
Copiloteleanorjboyd
andcommitted
feat: add WinPython support to builtin system Python manager
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
1 parent 5f371c7 commit 0ce0701

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/managers/builtin/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export async function refreshPythons(
125125
NativePythonEnvironmentKind.macXCode,
126126
NativePythonEnvironmentKind.windowsRegistry,
127127
NativePythonEnvironmentKind.windowsStore,
128+
NativePythonEnvironmentKind.winpython,
128129
].includes(e.kind)),
129130
);
130131
envs.forEach((env) => {

src/managers/common/nativePythonFinder.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export enum NativePythonEnvironmentKind {
140140
virtualEnvWrapper = 'VirtualEnvWrapper',
141141
windowsStore = 'WindowsStore',
142142
windowsRegistry = 'WindowsRegistry',
143+
winpython = 'WinPython',
143144
}
144145

145146
export interface NativePythonFinder extends Disposable {

0 commit comments

Comments
 (0)