8000 BLD Add missing cython generator for a few extensions (#31346) · scikit-learn/scikit-learn@fec2fe6 · GitHub
[go: up one dir, main page]

Skip to content

Commit fec2fe6

Browse files
authored
BLD Add missing cython generator for a few extensions (#31346)
1 parent e70ae56 commit fec2fe6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sklearn/cluster/_hdbscan/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cluster_hdbscan_extension_metadata = {
22
'_linkage': {'sources': [cython_gen.process('_linkage.pyx'), metrics_cython_tree]},
33
'_reachability': {'sources': [cython_gen.process('_reachability.pyx')]},
4-
'_tree': {'sources': ['_tree.pyx']}
4+
'_tree': {'sources': [cython_gen.process('_tree.pyx')]}
55
}
66

77
foreach ext_name, ext_dict : cluster_hdbscan_extension_metadata

sklearn/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ extensions = ['_isotonic']
219219

220220
py.extension_module(
221221
'_isotonic',
222-
'_isotonic.pyx',
222+
cython_gen.process('_isotonic.pyx'),
223223
cython_args: cython_args,
224224
install: true,
225225
subdir: 'sklearn',

sklearn/neighbors/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ neighbors_extension_metadata = {
3939
'_partition_nodes':
4040
{'sources': [cython_gen_cpp.process('_partition_nodes.pyx')],
4141
'dependencies': [np_dep]},
42-
'_quad_tree': {'sources': ['_quad_tree.pyx'], 'dependencies': [np_dep]},
42+
'_quad_tree': {'sources': [cython_gen.process('_quad_tree.pyx')], 'dependencies': [np_dep]},
4343
}
4444

4545
foreach ext_name, ext_dict : neighbors_extension_metadata

sklearn/utils/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ utils_extension_metadata = {
2020
'_cython_blas': {'sources': [cython_gen.process('_cython_blas.pyx')]},
2121
'arrayfuncs': {'sources': [cython_gen.process('arrayfuncs.pyx')]},
2222
'murmurhash': {
23-
'sources': ['murmurhash.pyx', 'src' / 'MurmurHash3.cpp'],
23+
'sources': [cython_gen.process('murmurhash.pyx'), 'src' / 'MurmurHash3.cpp'],
2424
},
2525
'_fast_dict':
2626
{'sources': [cython_gen_cpp.process('_fast_dict.pyx')]},

0 commit comments

Comments
 (0)
0