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
1 changed files with 2 additions and 1 deletions

View File

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