msgpack-python package name was changed to msgpack from 0.5

This commit is contained in:
Dmitri Bogomolov 2019-04-19 17:06:55 +03:00
parent 7b9824afc9
commit 4eec124225
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -77,7 +77,8 @@ if __name__ == "__main__":
try:
import msgpack
installRequires.append("msgpack-python")
installRequires.append(
"msgpack-python" if msgpack.version[:2] == (0, 4) else "msgpack")
except ImportError:
try:
import umsgpack