We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bc792 commit a1d8b27Copy full SHA for a1d8b27
bottleneck/src/bn_config.py
@@ -24,7 +24,8 @@ def get_python_header_include() -> List[str]:
24
if sys.platform == "win32":
25
suffix = ["include"]
26
else:
27
- suffix = ["include", "python" + sys.version[:3] + sys.abiflags]
+ python_ver = "python{0.major}.{0.minor}".format(sys.version_info)
28
+ suffix = ["include", python_ver + sys.abiflags]
29
30
results = []
31
for prefix in [sys.prefix, sys.exec_prefix]:
0 commit comments