pinokiod 1.1.41 → 1.1.43
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/api/set/index.js +0 -1
- package/kernel/shell.js +2 -0
- package/kernel/shells.js +0 -2
- package/package.json +1 -1
package/kernel/api/set/index.js
CHANGED
package/kernel/shell.js
CHANGED
|
@@ -544,11 +544,13 @@ class Shell {
|
|
|
544
544
|
if (env_exists) {
|
|
545
545
|
params.message = [
|
|
546
546
|
(this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
|
|
547
|
+
'pip install wheel',
|
|
547
548
|
].concat(params.message)
|
|
548
549
|
} else {
|
|
549
550
|
params.message = [
|
|
550
551
|
`python -m venv ${env_path}`,
|
|
551
552
|
(this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
|
|
553
|
+
'pip install wheel',
|
|
552
554
|
].concat(params.message)
|
|
553
555
|
}
|
|
554
556
|
}
|
package/kernel/shells.js
CHANGED
|
@@ -28,9 +28,7 @@ class Shells {
|
|
|
28
28
|
*/
|
|
29
29
|
async launch(params, options, ondata) {
|
|
30
30
|
// iterate through all the envs
|
|
31
|
-
console.log("before launch", params.env)
|
|
32
31
|
params.env = this.kernel.bin.envs(params.env)
|
|
33
|
-
console.log("after launch", params.env)
|
|
34
32
|
|
|
35
33
|
let exec_path = (params.path ? params.path : ".") // use the current path if not specified
|
|
36
34
|
let cwd = (options && options.cwd ? options.cwd : this.kernel.homedir) // if cwd exists, use it. Otherwise the cwd is pinokio home folder (~/pinokio)
|