Skip to content

Commit aaf6c26

Browse files
committed
remove abi3 logic; fails in conda
1 parent f7395ae commit aaf6c26

1 file changed

Lines changed: 7 additions & 18 deletions

File tree

meson.build

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,13 @@ nanobind_dep = dependency('nanobind', static: true)
2424
odrpack_dep = dependency('odrpack95', static: true)
2525

2626
# build extension module
27-
if python.language_version().version_compare('>=3.12')
28-
nanobind_ext = python.extension_module(
29-
'__odrpack',
30-
'src/odrpack/__odrpack.py.cpp',
31-
dependencies : [python_dep, nanobind_dep, odrpack_dep],
32-
install: true,
33-
limited_api: '3.12',
34-
subdir: 'odrpack'
35-
)
36-
else
37-
nanobind_ext = python.extension_module(
38-
'__odrpack',
39-
'src/odrpack/__odrpack.py.cpp',
40-
dependencies : [python_dep, nanobind_dep, odrpack_dep],
41-
install: true,
42-
subdir: 'odrpack'
43-
)
44-
endif
27+
nanobind_ext = python.extension_module(
28+
'__odrpack',
29+
'src/odrpack/__odrpack.py.cpp',
30+
dependencies : [python_dep, nanobind_dep, odrpack_dep],
31+
install: true,
32+
subdir: 'odrpack'
33+
)
4534

4635
python.install_sources(
4736
[

0 commit comments

Comments
 (0)