pinokiod 3.4.12 → 3.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/cuda.js +3 -3
- package/kernel/bin/vs.js +2 -1
- package/kernel/shell.js +8 -8
- package/package.json +1 -1
package/kernel/bin/cuda.js
CHANGED
package/kernel/bin/vs.js
CHANGED
|
@@ -161,7 +161,8 @@ class VS {
|
|
|
161
161
|
} else if (mode === "install") {
|
|
162
162
|
cmd = `${filename}`
|
|
163
163
|
}
|
|
164
|
-
const command = `start /wait ${cmd} --passive --wait --nocache --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended`
|
|
164
|
+
//const command = `start /wait ${cmd} --passive --wait --nocache --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended`
|
|
165
|
+
const command = `start /wait ${cmd} --passive --wait --nocache --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --includeRecommended`
|
|
165
166
|
return command
|
|
166
167
|
}
|
|
167
168
|
}
|
package/kernel/shell.js
CHANGED
|
@@ -767,20 +767,20 @@ class Shell {
|
|
|
767
767
|
let python_version = ""
|
|
768
768
|
let use_uv = false
|
|
769
769
|
if (typeof params.venv === "string") {
|
|
770
|
+
console.log("params =" ,params)
|
|
770
771
|
env_path = path.resolve(params.path, params.venv)
|
|
772
|
+
console.log({ env_path })
|
|
771
773
|
if (params.venv_python) {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
774
|
+
console.log("isNumber", isNumber(parahs.venv_python))
|
|
775
|
+
console.log({ venv_python: params.venv_python })
|
|
776
|
+
python_version = ` --python ${params.venv_python}`
|
|
777
|
+
use_uv = true
|
|
776
778
|
}
|
|
777
779
|
} else if (typeof params.venv === "object" && params.venv.path) {
|
|
778
780
|
env_path = path.resolve(params.path, params.venv.path)
|
|
779
781
|
if (params.venv.python) {
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
use_uv = true
|
|
783
|
-
}
|
|
782
|
+
python_version = ` --python ${params.venv.python}`
|
|
783
|
+
use_uv = true
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
786
|
if (env_path) {
|