@scrypted/server 0.35.0 → 0.36.0
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.
Potentially problematic release.
This version of @scrypted/server might be problematic. Click here for more details.
- package/package.json +1 -1
- package/python/plugin_remote.py +7 -2
package/package.json
CHANGED
package/python/plugin_remote.py
CHANGED
@@ -603,8 +603,13 @@ class PluginRemote:
|
|
603
603
|
f.write(requirements)
|
604
604
|
f.close()
|
605
605
|
|
606
|
-
p = subprocess.Popen([
|
607
|
-
|
606
|
+
p = subprocess.Popen([
|
607
|
+
sys.executable,
|
608
|
+
'-m', 'pip', 'install', '-r', requirementstxt,
|
609
|
+
'--ignore-installed',
|
610
|
+
'--prefix', python_prefix
|
611
|
+
], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
612
|
+
|
608
613
|
while True:
|
609
614
|
line = p.stdout.readline()
|
610
615
|
if not line:
|