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