/
githubmirror
/
scikit-learn
Обзор
Документация
Войти
/
githubmirror
/
scikit-learn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
sklearn/linear_model/meson.build
32 строки
930 B
Dimitri Papadopoulos Orfanos
MNT Fix typos found by typos (#33916)
04 май 2026, 17:11
Не верифицирован
04 май 2026, 17:11
88f8246
Код
Авторство
О чём код?
# .pyx is generated, so this is needed to make Cython compilation work linear_model_cython_tree = [ fs.copyfile('__init__.py'), ] py.extension_module( '_cd_fast', [cython_gen.process('_cd_fast.pyx'), utils_cython_tree], subdir: 'sklearn/linear_model', install: true ) name_list = ['_sgd_fast', '_sag_fast'] foreach name: name_list pyx = custom_target( name + '_pyx', output: name + '.pyx', input: name + '.pyx.tp', command: [tempita, '@INPUT@', '-o', '@OUTDIR@'], # TODO in principle this should go in py.extension_module below. This is # temporary work-around for dependency issue with .pyx.tp files. For more # details, see https://github.com/mesonbuild/meson/issues/13212 depends: [linear_model_cython_tree, utils_cython_tree, _loss_cython_tree], ) py.extension_module( name, cython_gen.process(pyx), subdir: 'sklearn/linear_model', install: true ) endforeach