Skip to content

Commit

Permalink
Backport PR #54737 on branch 2.1.x (MAINT: small simplification of me…
Browse files Browse the repository at this point in the history
…son.build following best practices) (#54799)

* Backport PR #54737: MAINT: small simplification of meson.build following best practices

* Update meson.build

---------

Co-authored-by: Daniele Nicolodi <daniele@grinta.net>
Co-authored-by: Patrick Hoefler <61934744+phofl@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 28, 2023
1 parent 7961b1c commit 4855f54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,15 @@ project(
license: 'BSD-3',
meson_version: '>=1.0.1',
default_options: [
# TODO: investigate, does meson try to compile against debug Python
# when buildtype = debug, this seems to be causing problems on CI
# where provided Python is not compiled in debug mode
'buildtype=release',
# TODO: Reactivate werror, some warnings on Windows
#'werror=true',
'c_std=c99'
]
)

py_mod = import('python')
fs = import('fs')
py = py_mod.find_installation('python')
py_dep = py.dependency()
py = import('python').find_installation()
tempita = files('generate_pxi.py')
versioneer = files('generate_version.py')

Expand Down
2 changes: 0 additions & 2 deletions pandas/_libs/window/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ py.extension_module(
['aggregations.pyx'],
cython_args: ['-X always_allow_keywords=true'],
include_directories: [inc_np, inc_pd],
dependencies: [py_dep],
subdir: 'pandas/_libs/window',
override_options : ['cython_language=cpp'],
install: true
Expand All @@ -14,7 +13,6 @@ py.extension_module(
['indexers.pyx'],
cython_args: ['-X always_allow_keywords=true'],
include_directories: [inc_np, inc_pd],
dependencies: [py_dep],
subdir: 'pandas/_libs/window',
install: true
)

0 comments on commit 4855f54

Please sign in to comment.