Skip to content

Commit 6efa5d4

Browse files
committed
cleanups
1 parent ed57a6d commit 6efa5d4

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

python/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ project(
2020
'cython',
2121
'cpp',
2222
version: run_command(
23-
'python',
23+
'python3',
2424
'-m',
2525
'setuptools_scm',
2626
'--force-write-version-files',

python/pyarrow/meson.build

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,7 @@ arrow_python_lib = shared_library(
226226
cython_generated_dep,
227227
py.dependency(),
228228
],
229-
cpp_args: cc.get_supported_arguments(
230-
['-DARROW_PYTHON_EXPORTING', '/DARROW_PYTHON_EXPORTING'],
231-
),
229+
cpp_args: ['-DARROW_PYTHON_EXPORTING'],
232230
install: true,
233231
install_dir: py.get_install_dir() / 'pyarrow',
234232
gnu_symbol_visibility: 'inlineshidden',
@@ -242,9 +240,7 @@ if needs_flight
242240
sources: ['src/arrow/python/flight.cc'],
243241
dependencies: [arrow_flight_dep, pyarrow_lib_dep, py.dependency()],
244242
include_directories: ['src'],
245-
cpp_args: cc.get_supported_arguments(
246-
['-DARROW_PYFLIGHT_EXPORTING', '/DARROW_PYFLIGHT_EXPORTING'],
247-
),
243+
cpp_args: ['-DARROW_PYFLIGHT_EXPORTING'],
248244
install: true,
249245
install_dir: py.get_install_dir() / 'pyarrow',
250246
gnu_symbol_visibility: 'inlineshidden',
@@ -263,14 +259,8 @@ if needs_parquet_encryption
263259
'arrow_python_parquet_encryption',
264260
sources: ['src/arrow/python/parquet_encryption.cc'],
265261
include_directories: ['src'],
266-
link_with: [arrow_python_lib],
267-
dependencies: [parquet_dep, py.dependency()],
268-
cpp_args: cc.get_supported_arguments(
269-
[
270-
'-DARROW_PYTHON_PARQUET_ENCRYPTION_EXPORTING',
271-
'/DARROW_PYTHON_PARQUET_ENCRYPTION_EXPORTING',
272-
],
273-
),
262+
dependencies: [parquet_dep, pyarrow_lib_dep, py.dependency()],
263+
cpp_args: ['-DARROW_PYTHON_PARQUET_ENCRYPTION_EXPORTING'],
274264
install: true,
275265
install_dir: py.get_install_dir() / 'pyarrow',
276266
gnu_symbol_visibility: 'inlineshidden',

0 commit comments

Comments
 (0)