softwareupdate: plugins may now specify that they have dependency links

Update plugin will then also process those during pip install. Was missing previously and caused Pushbullet Plugin to not properly update.
This commit is contained in:
Gina Häußge committed 2015-06-13 19:36:28 +02:00
1 parent 4badf72e18
commit 608be52b9a
1 file changed
+4
@@ -25,6 +25,10 @@ def perform_update(target, check, target_version):
logger.debug("Target: %s, executing pip install %s" % (target, install_arg))
pip_args = ["install", check["pip"].format(target_version=target_version, target=target_version)]
if "dependency_links" in check and check["dependency_links"]:
pip_args += "--process-dependency-links"
_pip.main(pip_args)
if "force_reinstall" in check and check["force_reinstall"]: