projects
/
python-pysam.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb586e
)
Add patch to return proper sysconf so for current python
author
Nilesh Patra
<nilesh@debian.org>
Sat, 31 Dec 2022 16:56:09 +0000
(17:56 +0100)
committer
Nilesh Patra
<nilesh@debian.org>
Sat, 31 Dec 2022 16:56:09 +0000
(17:56 +0100)
Last-Update: 2022-12-30
Gbp-Pq: Name python3.11.patch
pysam/__init__.py
patch
|
blob
|
history
diff --git
a/pysam/__init__.py
b/pysam/__init__.py
index ec52d94c7ee4eeb022372dd806dcab620519328c..57b926c96171aa42c77f76bde241a51bee4a25a7 100644
(file)
--- a/
pysam/__init__.py
+++ b/
pysam/__init__.py
@@
-96,5
+96,7
@@
def get_libraries():
if pysam.config.HTSLIB == "builtin":
pysam_libs.append('libchtslib')
- so = sysconfig.get_config_var('SO')
+ so = sysconfig.get_config_var('EXT_SUFFIX')
+ if not so:
+ so = sysconfig.get_config_var('SO')
return [os.path.join(dirname, x + so) for x in pysam_libs]