pinokiod 3.4.15 → 3.4.17
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/vs.js +0 -7
- package/kernel/shell.js +3 -1
- package/package.json +1 -1
package/kernel/bin/vs.js
CHANGED
|
@@ -127,13 +127,6 @@ class VS {
|
|
|
127
127
|
}
|
|
128
128
|
async installed() {
|
|
129
129
|
if (this.kernel.platform === "win32") {
|
|
130
|
-
await new Promise((resolve, reject) => {
|
|
131
|
-
console.log("vs installed check: wait 3 seconds before checking")
|
|
132
|
-
setTimeout(() => {
|
|
133
|
-
console.log("vs installed check: check now")
|
|
134
|
-
resolve()
|
|
135
|
-
}, 3000)
|
|
136
|
-
})
|
|
137
130
|
await this.init()
|
|
138
131
|
console.log("VS INSTALLED CHECK", this._env)
|
|
139
132
|
return this._env.MSVC_PATH && this._env.MSVC_PATH.length > 0 && this._env.BUILD_PATH && this._env.BUILD_PATH.length > 0 && this._env.CMAKE_PATH && this._env.CMAKE_PATH.length > 0 && this._env.VCVARSALL_PATH && this._env.VCVARSALL_PATH.length > 0
|
package/kernel/shell.js
CHANGED
|
@@ -732,6 +732,8 @@ class Shell {
|
|
|
732
732
|
this.env.PIP_REQUIRE_VIRTUALENV = "true"
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
+
this.env.UV_SYSTEM_PYTHON="1"
|
|
736
|
+
|
|
735
737
|
// 2. venv
|
|
736
738
|
|
|
737
739
|
/*
|
|
@@ -771,7 +773,7 @@ class Shell {
|
|
|
771
773
|
env_path = path.resolve(params.path, params.venv)
|
|
772
774
|
console.log({ env_path })
|
|
773
775
|
if (params.venv_python) {
|
|
774
|
-
console.log("isNumber", isNumber(
|
|
776
|
+
console.log("isNumber", isNumber(params.venv_python))
|
|
775
777
|
console.log({ venv_python: params.venv_python })
|
|
776
778
|
python_version = ` --python ${params.venv_python}`
|
|
777
779
|
use_uv = true
|