at master 463 B view raw
1diff --git a/setup.py b/setup.py 2index 0825241..389a59e 100755 3--- a/setup.py 4+++ b/setup.py 5@@ -11,12 +11,7 @@ extension_modules = [] 6 7 8 def get_boost_version(out=None): 9- if out is None: 10- out = subprocess.check_output( 11- r"ldconfig -p | grep -E 'libboost_python.*\.so '", shell=True) 12- 13- ver = os.path.splitext(out.split()[0][3:])[0].decode() 14- return ver 15+ return "@boost_version@" 16 17 def tests(): 18 # case: python3-py3x.so