diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-25 15:33:23 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-25 15:33:23 +0100 |
commit | d33f31d741f703758c092e311bae263ff3c3ef64 (patch) | |
tree | c2b04086f20935b0e03372b835e72632277db514 /synapse/python_dependencies.py | |
parent | Update the log message (diff) | |
download | synapse-d33f31d741f703758c092e311bae263ff3c3ef64.tar.xz |
Print the correct pip install line when failing due to lack of matrix-angular-sdk
Diffstat (limited to '')
-rw-r--r-- | synapse/python_dependencies.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index 82e28133e2..d7e3a686fa 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -52,18 +52,18 @@ def requirements(config=None, include_conditional=False): def github_link(project, version, egg): return "https://github.com/%s/tarball/%s/#egg=%s" % (project, version, egg) -DEPENDENCY_LINKS = [ - github_link( +DEPENDENCY_LINKS = { + "syutil": github_link( project="matrix-org/syutil", version="v0.0.7", egg="syutil-0.0.7", ), - github_link( + "matrix-angular-sdk": github_link( project="matrix-org/matrix-angular-sdk", version="v0.6.6", egg="matrix_angular_sdk-0.6.6", ), -] +} class MissingRequirementError(Exception): @@ -131,7 +131,7 @@ def check_requirements(config=None): def list_requirements(): result = [] linked = [] - for link in DEPENDENCY_LINKS: + for link in DEPENDENCY_LINKS.values(): egg = link.split("#egg=")[1] linked.append(egg.split('-')[0]) result.append(link) |