|
| 1 | +import * as ch from 'child_process'; |
1 | 2 | import * as fs from 'fs-extra'; |
2 | 3 | import * as path from 'path'; |
| 4 | +import { PassThrough } from 'stream'; |
| 5 | +import { Disposable, ExtensionContext, LogOutputChannel, Uri } from 'vscode'; |
3 | 6 | import * as rpc from 'vscode-jsonrpc/node'; |
4 | | -import * as ch from 'child_process'; |
| 7 | +import { PythonProjectApi } from '../../api'; |
5 | 8 | import { ENVS_EXTENSION_ID, PYTHON_EXTENSION_ID } from '../../common/constants'; |
6 | 9 | import { getExtension } from '../../common/extension.apis'; |
7 | | -import { noop } from './utils'; |
8 | | -import { Disposable, ExtensionContext, LogOutputChannel, Uri } from 'vscode'; |
9 | | -import { PassThrough } from 'stream'; |
10 | | -import { PythonProjectApi } from '../../api'; |
11 | | -import { getConfiguration } from '../../common/workspace.apis'; |
12 | | -import { createRunningWorkerPool, WorkerPool } from '../../common/utils/workerPool'; |
13 | 10 | import { traceVerbose } from '../../common/logging'; |
14 | | -import { isWindows } from '../../common/utils/platformUtils'; |
15 | 11 | import { getUserHomeDir, untildify } from '../../common/utils/pathUtils'; |
| 12 | +import { isWindows } from '../../common/utils/platformUtils'; |
| 13 | +import { createRunningWorkerPool, WorkerPool } from '../../common/utils/workerPool'; |
| 14 | +import { getConfiguration } from '../../common/workspace.apis'; |
| 15 | +import { noop } from './utils'; |
16 | 16 |
|
17 | 17 | export async function getNativePythonToolsPath(): Promise<string> { |
18 | 18 | const envsExt = getExtension(ENVS_EXTENSION_ID); |
|
0 commit comments