Merge pull request #2543 from ganey/bugfix/pip--no-cache-dir

Pip install with --no-cache-dir to handle plugin installations with MemoryError
This commit is contained in:
Gina Häußge authored and GitHub committed 2018-04-03 13:49:59 +02:00
commit 35343705ca
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -88,6 +88,7 @@ date of first contribution):
* ["alex-gh"](https://github.com/alex-gh)
* [Bernd Zeimetz](https://github.com/bzed)
* [Daniele Forsi](https://github.com/dforsi)
* [Ganey](https://github.com/ganey)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
@@ -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")