Skip to content

Commit fbe5561

Browse files
committed
Refactor upgrade task: replace batch script with pip install command for PlotPyStack packages
1 parent 2e41a23 commit fbe5561

File tree

2 files changed

+11
-32
lines changed

2 files changed

+11
-32
lines changed

.vscode/tasks.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,18 +244,24 @@
244244
}
245245
},
246246
{
247-
"label": "Upgrade PlotPyStack packages",
247+
"label": "📦 Upgrade PlotPyStack",
248248
"type": "shell",
249-
"command": "cmd",
249+
"command": "${command:python.interpreterPath}",
250250
"args": [
251-
"/c",
252-
"upgrade_stack.bat"
251+
"-m",
252+
"pip",
253+
"install",
254+
"--upgrade",
255+
"pip",
256+
"PythonQwt",
257+
"guidata",
258+
"PlotPy",
253259
],
254260
"options": {
255261
"cwd": "scripts",
256262
"env": {
257-
"UNATTENDED": "1",
258263
"PYTHON": "${command:python.interpreterPath}",
264+
"UNATTENDED": "1"
259265
}
260266
},
261267
"group": {

scripts/upgrade_stack.bat

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)