From 6937af41fead0a53b3f51c3692a43ba68a731466 Mon Sep 17 00:00:00 2001 From: Christoph Schueler Date: Wed, 28 Aug 2024 00:15:23 +0300 Subject: [PATCH] Try Linux builds #5 --- build_ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_ext.py b/build_ext.py index 4d50535..6478117 100644 --- a/build_ext.py +++ b/build_ext.py @@ -42,8 +42,8 @@ def build_extension(debug: bool = False, use_temp_dir: bool = False) -> None: ] if uname.system == 'Linux' and 'CIBUILDWHEEL' in os.environ: - cmake_args += f"-DPYTHON_INCLUDE_DIR={sysconfig.get_path('include')}" - cmake_args += f"-DPYTHON_LIBRARY={str(Path(sysconfig.get_config_var('LIBDIR')) / Path(sysconfig.get_config_var('LDLIBRARY')))}" + cmake_args += [f"-DPYTHON_INCLUDE_DIR={sysconfig.get_path('include')}"] + cmake_args += [f"-DPYTHON_LIBRARY={str(Path(sysconfig.get_config_var('LIBDIR')) / Path(sysconfig.get_config_var('LDLIBRARY')))}"] build_args = ["--config Release", "--verbose"] # cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 /path/to/src