Disable python downloads when running notebooks on a SAW. (#11186) (#11238)

This commit is contained in:
Cory Rivera
2020-07-08 11:01:40 -07:00
committed by GitHub
parent 6ecaf97000
commit 2b39be8651
8 changed files with 48 additions and 39 deletions

View File

@@ -302,6 +302,14 @@
"command": "jupyter.task.openNotebook",
"when": "false"
},
{
"command": "jupyter.cmd.configurePython",
"when": "!notebook:runningOnSAW"
},
{
"command": "jupyter.reinstallDependencies",
"when": "!notebook:runningOnSAW"
},
{
"command": "jupyter.cmd.managePackages",
"when": "false"
@@ -418,7 +426,7 @@
"notebook/toolbar": [
{
"command": "jupyter.cmd.managePackages",
"when": "providerId == jupyter && notebook:pythonInstalled"
"when": "providerId == jupyter && notebook:pythonInstalled && !notebook:runningOnSAW"
}
]
},