Skip to content

Commit

Permalink
rm extension py req install existing setup
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Apr 11, 2024
1 parent 8f7a93d commit 8692fb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
15 changes: 0 additions & 15 deletions src/setup/installPyReqs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,6 @@ export async function installPyReqs(
return;
}

export async function installExtensionPyReqs(
idfToolsDir: string,
pythonBinPath: string,
espIdfPath: string
) {
const logTracker = new PyReqLog(sendPyReqLog);
await pythonManager.installExtensionPyReqs(
pythonBinPath,
espIdfPath,
idfToolsDir,
logTracker,
OutputChannel.init()
);
}

export function sendPyReqLog(log: string) {
SetupPanel.postMessage({
command: "updatePyReqsLog",
Expand Down
6 changes: 0 additions & 6 deletions src/setup/setupValidation/espIdfSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { IdfToolsManager } from "../../idfToolsManager";
import { saveSettings } from "../setupInit";
import { pathExists } from "fs-extra";
import { Logger } from "../../logger/logger";
import { installExtensionPyReqs } from "../installPyReqs";
import { checkPyVenv } from "./pythonEnv";
import { ConfigurationTarget, Uri } from "vscode";

Expand All @@ -42,11 +41,6 @@ export async function useIdfSetupSettings(
const exportedVars = await idfToolsManager.exportVars(
join(setupConf.toolsPath, "tools")
);
await installExtensionPyReqs(
setupConf.toolsPath,
setupConf.python,
setupConf.idfPath
);
await saveSettings(
setupConf.idfPath,
setupConf.python,
Expand Down

0 comments on commit 8692fb6

Please sign in to comment.