Skip to content

Commit 8c6be9f

Browse files
committed
Fixed
Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent 8f32f29 commit 8c6be9f

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

meson_options.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

sklearn/meson.build

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,14 @@ cython_args += scikit_learn_cython_args
193193
# Write file in Meson build dir to be able to figure out from Python code
194194
# whether scikit-learn was built with Meson. Adapted from pandas
195195
# _version_meson.py.
196-
if get_option('enable_custom_target')
197-
custom_target('write_built_with_meson_file',
198-
output: '_built_with_meson.py',
199-
command: [
200-
py, '-c', 'with open("sklearn/_built_with_meson.py", "w") as f: f.write("")'
201-
],
202-
install: true,
203-
install_dir: py.get_install_dir() / 'sklearn'
204-
)
205-
endif
196+
# custom_target('write_built_with_meson_file',
197+
# output: '_built_with_meson.py',
198+
# command: [
199+
# py, '-c', 'with open("sklearn/_built_with_meson.py", "w") as f: f.write("")'
200+
# ],
201+
# install: true,
202+
# install_dir: py.get_install_dir() / 'sklearn'
203+
# )
206204

207205
extensions = ['_isotonic']
208206

0 commit comments

Comments
 (0)