Skip to content

Commit ea330a7

Browse files
committed
Fix merge main
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent c634b8a commit ea330a7

File tree

17 files changed

+3034
-750
lines changed

17 files changed

+3034
-750
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,6 @@ doc-noplot: inplace
6262

6363
code-analysis:
6464
build_tools/linting.sh
65+
66+
build-dev:
67+
pip install --verbose --no-build-isolation --editable .

setup.py

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ def check_package_status(package, min_version):
225225
{"sources": ["_cdnmf_fast.pyx"], "include_np": True},
226226
],
227227
"ensemble": [
228-
{"sources": ["_gradient_boosting.pyx"], "include_np": True},
228+
{"sources": ["_gradient_boosting.pyx"], "language": "c++", "include_np": True},
229229
],
230230
"ensemble._hist_gradient_boosting": [
231-
{"sources": ["_gradient_boosting.pyx"], "include_np": True},
231+
{"sources": ["_gradient_boosting.pyx"], "language": "c++", "include_np": True},
232232
{"sources": ["histogram.pyx"], "include_np": True},
233233
{"sources": ["splitting.pyx"], "include_np": True},
234234
{"sources": ["_binning.pyx"], "include_np": True},
@@ -310,7 +310,7 @@ def check_package_status(package, min_version):
310310
{"sources": ["_ball_tree.pyx.tp"], "include_np": True},
311311
{"sources": ["_kd_tree.pyx.tp"], "include_np": True},
312312
{"sources": ["_partition_nodes.pyx"], "language": "c++", "include_np": True},
313-
{"sources": ["_quad_tree.pyx"], "include_np": True},
313+
{"sources": ["_quad_tree.pyx"], "language": "c++", "include_np": True},
314314
],
315315
"svm": [
316316
{
@@ -378,9 +378,24 @@ def check_package_status(package, min_version):
378378
"include_np": True,
379379
"optimization_level": "O3",
380380
},
381-
{"sources": ["_splitter.pyx"], "include_np": True, "optimization_level": "O3"},
382-
{"sources": ["_criterion.pyx"], "include_np": True, "optimization_level": "O3"},
383-
{"sources": ["_utils.pyx"], "include_np": True, "optimization_level": "O3"},
381+
{
382+
"sources": ["_splitter.pyx"],
383+
"include_np": True,
384+
"language": "c++",
385+
"optimization_level": "O3",
386+
},
387+
{
388+
"sources": ["_criterion.pyx"],
389+
"include_np": True,
390+
"language": "c++",
391+
"optimization_level": "O3",
392+
},
393+
{
394+
"sources": ["_utils.pyx"],
395+
"include_np": True,
396+
"language": "c++",
397+
"optimization_level": "O3",
398+
},
384399
],
385400
"utils": [
386401
{"sources": ["sparsefuncs_fast.pyx"], "include_np": True},

0 commit comments

Comments
 (0)