mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-21 02:54:19 -05:00
313581e4e9
* Pull runtime dep checks into their own module * Reimplement `check_requirements` using `importlib` I've tried to make this clearer. We start by working out which of Synapse's requirements we need to be installed here and now. I was surprised that there wasn't an easier way to see which packages were installed by a given extra. I've pulled out the error messages into functions that deal with "is this for an extra or not". And I've rearranged the loop over two different sets of requirements into one loop with a "must be instaled" flag. I hope you agree that this is clearer. * Test cases |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
admin_cmd.py | ||
appservice.py | ||
client_reader.py | ||
event_creator.py | ||
federation_reader.py | ||
federation_sender.py | ||
frontend_proxy.py | ||
generic_worker.py | ||
homeserver.py | ||
media_repository.py | ||
phone_stats_home.py | ||
pusher.py | ||
synchrotron.py | ||
user_dir.py |