Skip to content

Commit b51113c

Browse files
committed
Fix BuildWheel task on Windows
1 parent 95688f4 commit b51113c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.vscode/tasks.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
"tasks": [
44
{
55
"label": "BuildWheel",
6-
"type": "process",
7-
"command": "${command:python.interpreterPath}",
6+
"type": "shell",
7+
"command": "python",
88
"args": [
99
"setup.py",
1010
"sdist",
1111
"bdist_wheel"
1212
],
1313
"options": {
14-
"cwd": "${workspaceRoot}/azure-devops/"
14+
"cwd": "${workspaceRoot}/azure-devops/",
15+
"env": {
16+
"PATH": "${workspaceRoot}\\env\\Scripts;${env:PATH}"
17+
}
1518
},
1619
"presentation": {
1720
"echo": true,

0 commit comments

Comments
 (0)