twokey 1.0.13 → 1.0.14
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/bin/twokey.js +5 -0
- package/package.json +1 -1
package/bin/twokey.js
CHANGED
|
@@ -494,6 +494,11 @@ function withManagedBinPath(baseEnv) {
|
|
|
494
494
|
parts.unshift(APPIMAGE_DIR);
|
|
495
495
|
}
|
|
496
496
|
env.PATH = parts.join(":");
|
|
497
|
+
// Remove variables that interfere with Python virtual environments.
|
|
498
|
+
// An inherited PYTHONHOME or PYTHONPATH causes the venv interpreter to look
|
|
499
|
+
// for the standard library (including "encodings") in the wrong location.
|
|
500
|
+
delete env.PYTHONHOME;
|
|
501
|
+
delete env.PYTHONPATH;
|
|
497
502
|
return env;
|
|
498
503
|
}
|
|
499
504
|
|