File: meson.build

package info (click to toggle)
scikit-learn 1.4.2%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,036 kB
  • sloc: python: 201,105; cpp: 5,790; ansic: 854; makefile: 304; sh: 56; javascript: 20
file content (19 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# .pyx is generated, so this is needed to make Cython compilation work
_loss_cython_tree = [
  fs.copyfile('_loss.pxd')
]

_loss_pyx = custom_target(
  '_loss_pyx',
  output: '_loss.pyx',
  input: '_loss.pyx.tp',
  command: [py, tempita, '@INPUT@', '-o', '@OUTDIR@'],
)

py.extension_module(
  '_loss',
  [_loss_pyx, _loss_cython_tree],
  cython_args: cython_args,
  install: true,
  subdir: 'sklearn/_loss',
)