We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1ee29 commit 763cf6aCopy full SHA for 763cf6a
src/managers/pipenv/pipenvUtils.ts
@@ -96,8 +96,9 @@ async function nativeToPythonEnv(
96
}
97
98
const sv = shortVersion(info.version);
99
- const name = info.name || info.displayName || path.basename(info.prefix);
100
- const displayName = info.displayName || `pipenv (${sv})`;
+ const folderName = path.basename(info.prefix);
+ const name = info.name || info.displayName || folderName;
101
+ const displayName = info.displayName || `${folderName} (${sv})`;
102
103
// Derive the environment's bin/scripts directory from the python executable
104
const binDir = path.dirname(info.executable);
0 commit comments