pinokiod 1.1.44 → 1.1.45

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 +7 -2
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -475,6 +475,7 @@ class Shell {
475
475
  `conda deactivate`,
476
476
  `conda deactivate`,
477
477
  `conda activate ${params.conda}`,
478
+ 'pip install wheel',
478
479
  ].concat(params.message)
479
480
  } else {
480
481
  if (typeof params.conda === "string") {
@@ -488,6 +489,7 @@ class Shell {
488
489
  `conda deactivate`,
489
490
  `conda deactivate`,
490
491
  `conda activate ${env_path}`,
492
+ 'pip install wheel',
491
493
  ].concat(params.message)
492
494
  } else {
493
495
  params.message = [
@@ -498,6 +500,7 @@ class Shell {
498
500
  `conda deactivate`,
499
501
  `conda deactivate`,
500
502
  `conda activate ${env_path}`,
503
+ 'pip install wheel',
501
504
  ].concat(params.message)
502
505
  }
503
506
  } else if (typeof params.conda === "object" && params.conda.path) {
@@ -510,6 +513,7 @@ class Shell {
510
513
  `conda deactivate`,
511
514
  `conda deactivate`,
512
515
  `conda activate ${env_path}`,
516
+ 'pip install wheel',
513
517
  ].concat(params.message)
514
518
  } else {
515
519
  let create_command
@@ -525,6 +529,7 @@ class Shell {
525
529
  `conda deactivate`,
526
530
  `conda deactivate`,
527
531
  `conda activate ${env_path}`,
532
+ 'pip install wheel',
528
533
  ].concat(params.message)
529
534
  }
530
535
  }
@@ -544,14 +549,14 @@ class Shell {
544
549
  if (env_exists) {
545
550
  params.message = [
546
551
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
547
- 'pip install --upgrade pip',
552
+ //'pip install --upgrade pip',
548
553
  'pip install wheel',
549
554
  ].concat(params.message)
550
555
  } else {
551
556
  params.message = [
552
557
  `python -m venv ${env_path}`,
553
558
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
554
- 'pip install --upgrade pip',
559
+ //'pip install --upgrade pip',
555
560
  'pip install wheel',
556
561
  ].concat(params.message)
557
562
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {