pip install using --no-cache-dir for low memory devices
This commit is contained in:
1 parent
0070349d66
commit
bb065828f2
2 files changed
+2
-1
No files matched your search
@@ -333,7 +333,7 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin,
|
||||
raise ValueError("Either URL or path must be provided")
|
||||
|
||||
self._logger.info("Installing plugin from {}".format(source))
|
||||
pip_args = ["install", sarge.shell_quote(source)]
|
||||
pip_args = ["install", sarge.shell_quote(source), '--no-cache-dir']
|
||||
|
||||
if dependency_links or self._settings.get_boolean(["dependency_links"]):
|
||||
pip_args.append("--process-dependency-links")
|
||||
|
||||
Reference in new issue
Block a user