Subject: [PATCH] Determine boost_python name depending on current Python
version
-Python2 requires boost_python and Python3 requires boost_python3.
+Python2 requires boost_python and Python3 requires boost_python36 (since
+boost 1.67).
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
setup.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
from setuptools import setup, find_packages, Extension
import sys, os
-+boostlib = "boost_python3"
++boostlib = "boost_python36"
+if sys.version_info < (3, 0):
+ boostlib = "boost_python"
+