msgpack is optional dependency

This commit is contained in:
Dmitri Bogomolov 2018-05-22 14:24:24 +03:00
parent 83c3843b28
commit 058bbbaa3c
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -435,10 +435,9 @@ def check_dependencies(verbose=False, optional=False):
' or greater is required.') ' or greater is required.')
has_all_dependencies = False has_all_dependencies = False
check_functions = [ check_functions = [check_hashlib, check_sqlite, check_openssl]
check_hashlib, check_sqlite, check_openssl, check_msgpack]
if optional: if optional:
check_functions.extend([check_pyqt, check_curses]) check_functions.extend([check_msgpack, check_pyqt, check_curses])
# Unexpected exceptions are handled here # Unexpected exceptions are handled here
for check in check_functions: for check in check_functions: