HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/sklearn/linear_model/meson.build
# .pyx is generated, so this is needed to make Cython compilation work
linear_model_cython_tree = [
  fs.copyfile('__init__.py'),
  fs.copyfile('_sgd_fast.pxd'),
]

py.extension_module(
  '_cd_fast',
  ['_cd_fast.pyx', utils_cython_tree],
  cython_args: cython_args,
  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: [py, tempita, '@INPUT@', '-o', '@OUTDIR@'],
    # TODO in principle this should go in py.exension_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],
  )
  py.extension_module(
    name,
    pyx,
    cython_args: cython_args,
    subdir: 'sklearn/linear_model',
    install: true
)
endforeach