@@ -169,11 +169,11 @@ def check_package_status(package, min_version):
169
169
package_status ["up_to_date" ] = False
170
170
package_status ["version" ] = ""
171
171
172
- req_str = "scikit-learn requires {} >= {}.\n " .format (package , min_version )
172
+ req_str = "scikit-learn-tree requires {} >= {}.\n " .format (package , min_version )
173
173
174
174
instructions = (
175
175
"Installation instructions are available on the "
176
- "scikit-learn website: "
176
+ "scikit-learn-tree website: "
177
177
"http://scikit-learn.org/stable/install.html\n "
178
178
)
179
179
@@ -225,10 +225,10 @@ def check_package_status(package, min_version):
225
225
{"sources" : ["_cdnmf_fast.pyx" ], "include_np" : True },
226
226
],
227
227
"ensemble" : [
228
- {"sources" : ["_gradient_boosting.pyx" ], "include_np" : True },
228
+ {"sources" : ["_gradient_boosting.pyx" ], "language" : "c++" , " include_np" : True },
229
229
],
230
230
"ensemble._hist_gradient_boosting" : [
231
- {"sources" : ["_gradient_boosting.pyx" ], "include_np" : True },
231
+ {"sources" : ["_gradient_boosting.pyx" ], "language" : "c++" , " include_np" : True },
232
232
{"sources" : ["histogram.pyx" ], "include_np" : True },
233
233
{"sources" : ["splitting.pyx" ], "include_np" : True },
234
234
{"sources" : ["_binning.pyx" ], "include_np" : True },
@@ -310,7 +310,7 @@ def check_package_status(package, min_version):
310
310
{"sources" : ["_ball_tree.pyx.tp" ], "include_np" : True },
311
311
{"sources" : ["_kd_tree.pyx.tp" ], "include_np" : True },
312
312
{"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 },
314
314
],
315
315
"svm" : [
316
316
{
@@ -378,9 +378,24 @@ def check_package_status(package, min_version):
378
378
"include_np" : True ,
379
379
"optimization_level" : "O3" ,
380
380
},
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
+ },
384
399
],
385
400
"utils" : [
386
401
{"sources" : ["sparsefuncs_fast.pyx" ], "include_np" : True },
@@ -629,4 +644,4 @@ def setup_package():
629
644
630
645
631
646
if __name__ == "__main__" :
632
- setup_package ()
647
+ setup_package ()
0 commit comments