Skip to content

Commit 4855f54

Browse files
meeseeksmachinednicolodiphofl
authored
Backport PR pandas-dev#54737 on branch 2.1.x (MAINT: small simplification of meson.build following best practices) (pandas-dev#54799)
* Backport PR pandas-dev#54737: MAINT: small simplification of meson.build following best practices * Update meson.build --------- Co-authored-by: Daniele Nicolodi <[email protected]> Co-authored-by: Patrick Hoefler <[email protected]>
1 parent 7961b1c commit 4855f54

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

meson.build

+1-6
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,15 @@ project(
66
license: 'BSD-3',
77
meson_version: '>=1.0.1',
88
default_options: [
9-
# TODO: investigate, does meson try to compile against debug Python
10-
# when buildtype = debug, this seems to be causing problems on CI
11-
# where provided Python is not compiled in debug mode
129
'buildtype=release',
1310
# TODO: Reactivate werror, some warnings on Windows
1411
#'werror=true',
1512
'c_std=c99'
1613
]
1714
)
1815

19-
py_mod = import('python')
2016
fs = import('fs')
21-
py = py_mod.find_installation('python')
22-
py_dep = py.dependency()
17+
py = import('python').find_installation()
2318
tempita = files('generate_pxi.py')
2419
versioneer = files('generate_version.py')
2520

pandas/_libs/window/meson.build

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ py.extension_module(
33
['aggregations.pyx'],
44
cython_args: ['-X always_allow_keywords=true'],
55
include_directories: [inc_np, inc_pd],
6-
dependencies: [py_dep],
76
subdir: 'pandas/_libs/window',
87
override_options : ['cython_language=cpp'],
98
install: true
@@ -14,7 +13,6 @@ py.extension_module(
1413
['indexers.pyx'],
1514
cython_args: ['-X always_allow_keywords=true'],
1615
include_directories: [inc_np, inc_pd],
17-
dependencies: [py_dep],
1816
subdir: 'pandas/_libs/window',
1917
install: true
2018
)

0 commit comments

Comments
 (0)