From 55389c45f84c611cb2737bc3a36ff9938762db1b Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Wed, 4 Mar 2015 15:38:17 -0600 Subject: [PATCH] handle LooseVersion == str comparisons in py3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 18d6a0433..3b4d8cc88 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ else: if PY3: # fix error with py3's LooseVersion comparisons def ver_equal(self, other): - return self.version == other.version + return self.version == other LooseVersion.__eq__ = ver_equal