Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Queried CONDITIONAL_REQUIREMENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjwolff committed Apr 18, 2017
1 parent 54f9a4c commit d4040e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions synapse/app/homeserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
import synapse.config.logger
from synapse.config._base import ConfigError

from synapse.python_dependencies import check_requirements
from synapse.python_dependencies import (
check_requirements, CONDITIONAL_REQUIREMENTS
)

from synapse.rest import ClientRestResource
from synapse.storage.engines import create_engine, IncorrectDatabaseSetup
Expand Down Expand Up @@ -86,10 +88,11 @@ def build_resource_for_web_client(hs):
"the location of the source to serve via the configuration\n"
"option `web_client_location`\n\n"
"To install the `matrix-angular-sdk` via pip, run:\n\n"
" pip install matrix-angular-sdk\n"
" pip install '%(dep)s'\n"
"\n"
"You can also disable hosting of the webclient via the\n"
"configuration option `web_client`\n"
% {"dep": CONDITIONAL_REQUIREMENTS["web_client"].keys()[0]}
)
syweb_path = os.path.dirname(syweb.__file__)
webclient_path = os.path.join(syweb_path, "webclient")
Expand Down

0 comments on commit d4040e9

Please sign in to comment.