Skip to content

Commit

Permalink
Add support for poetry and mac-xcode (#23668)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Jun 24, 2024
1 parent 54fd4ae commit 6c39741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,14 @@ class NativeGlobalPythonFinderImpl extends DisposableBase implements NativeGloba
case 'homebrew':
case 'mac-python-org':
case 'mac-command-line-tools':
case 'mac-xcode':
case 'windows-registry':
return PythonEnvKind.System;
case 'pyenv':
case 'pyenv-other':
return PythonEnvKind.Pyenv;
case 'poetry':
return PythonEnvKind.Poetry;
case 'pipenv':
return PythonEnvKind.Pipenv;
case 'pyenv-virtualenv':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function toolToKnownEnvironmentTool(tool: string): KnownEnvironmentTools {
switch (tool.toLowerCase()) {
case 'conda':
return 'Conda';
case 'poetry':
return 'Poetry';
case 'pyenv':
return 'Pyenv';
default: {
Expand Down

0 comments on commit 6c39741

Please sign in to comment.