pinokiod 3.2.169 → 3.2.171

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.
Files changed (2) hide show
  1. package/kernel/shell.js +3 -0
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -646,6 +646,7 @@ class Shell {
646
646
  if (params.venv) {
647
647
  let env_path = path.resolve(params.path, params.venv)
648
648
  let activate_path = (this.platform === 'win32' ? path.resolve(env_path, "Scripts", "activate") : path.resolve(env_path, "bin", "activate"))
649
+ let deactivate_path = (this.platform === 'win32' ? path.resolve(env_path, "Scripts", "deactivate") : path.resolve(env_path, "bin", "deactivate"))
649
650
  let env_exists = await this.exists(env_path)
650
651
  if (env_exists) {
651
652
  venv_activation = [
@@ -656,6 +657,8 @@ class Shell {
656
657
  `python -m venv ${env_path}`,
657
658
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
658
659
  `python -m pip install --upgrade pip setuptools wheel`,
660
+ (this.platform === "win32" ? `${deactivate_path}` : `source ${deactivate_path}`),
661
+ (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
659
662
  ]
660
663
  }
661
664
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.169",
3
+ "version": "3.2.171",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {