From fada52f81ecfb52e32ef1017fb851712e0fdd485 Mon Sep 17 00:00:00 2001 From: Alex Sladkov Date: Thu, 25 Jan 2018 11:20:24 +0300 Subject: [PATCH] fixes #2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 189a7f9..3026760 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ class Swig3Ext(build_ext): def find_swig(self): swigBinary = find_executable('swig3.0') or find_executable('swig') assert swigBinary is not None - assert subprocess.check_output([swigBinary, "-version"]).find('SWIG Version 3') != -1 + assert subprocess.check_output([swigBinary, "-version"]).find(b'SWIG Version 3') != -1 return swigBinary VERSION = '0.0.8'