From fc960cbf86d6f948e04d58ee10ed6f1c73233be2 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 29 Aug 2017 13:50:49 +0300 Subject: [PATCH] Fixed own logical error when missing msgpack package is being appended to install_requires list instead of the available one. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 0da5680a..9357284b 100644 --- a/setup.py +++ b/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']