Fixed own logical error
when missing msgpack package is being appended to install_requires list instead of the available one.
This commit is contained in:
parent
022e0ce593
commit
fc960cbf86
4
setup.py
4
setup.py
|
@ -230,9 +230,9 @@ if __name__ == "__main__":
|
|||
]
|
||||
# this will silently accept alternative providers of msgpack
|
||||
# if they are already installed
|
||||
if "msgpack" in detectPrereqs():
|
||||
if "msgpack" in detectPrereqs(False):
|
||||
installRequires.append("msgpack-python")
|
||||
elif "umsgpack" in detectPrereqs():
|
||||
elif "umsgpack" in detectPrereqs(False):
|
||||
installRequires.append("umsgpack")
|
||||
else:
|
||||
packages += ['pybitmessage.fallback', 'pybitmessage.fallback.umsgpack']
|
||||
|
|
Loading…
Reference in New Issue
Block a user