msgpack-python package name was changed to msgpack from 0.5
This commit is contained in:
parent
7b9824afc9
commit
4eec124225
3
setup.py
3
setup.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user