Skip to content

Commit

Permalink
msgpack-python package name was changed to msgpack from 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
g1itch committed Apr 22, 2019
1 parent 7b9824a commit 4eec124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def run(self):

try:
import msgpack
installRequires.append("msgpack-python")
installRequires.append(
"msgpack-python" if msgpack.version[:2] == (0, 4) else "msgpack")
except ImportError:
try:
import umsgpack
Expand Down

0 comments on commit 4eec124

Please sign in to comment.