update setup.py to use SOABI rather than SO configuration variable for py3
@@ -255,6 +255,9 @@ elif HTSLIB_MODE == 'shared':
else:
raise ValueError("unknown HTSLIB value '%s'" % HTSLIB_MODE)
+if IS_PYTHON3:
+ internal_htslib_libraries = ["chtslib.{}".format(sysconfig.get_config_var('SOABI'))]
+else:
internal_htslib_libraries = [os.path.splitext("chtslib{}".format(sysconfig.get_config_var('SO')))[0]]
# build config.py
