Fixes for cibuildwheel building

This commit is contained in:
Robert Taylor 2022-12-09 15:51:19 +00:00
parent 842602cdcb
commit c1fdf4963b
2 changed files with 11 additions and 5 deletions

View File

@ -84,9 +84,7 @@ class ExtensionBuilder(build_ext):
cmake_args += [f"-DCORIOLIS_TOP={install_dir}"]
cmake_args += [f"-DCORIOLIS_USER_TOP={install_dir}"]
cmake_args += [f"-DPYTHON_INCLUDE_DIR={get_python_inc()}"]
cmake_args += [f"-DPYTHON_LIBRARY={sysconfig.get_config_var('LIBDIR')}"]
cmake_args += [f"-DPYTHON_INTERPRETER={sys.executable}"]
cmake_args += [f"-DPython_EXECUTABLE={sys.executable}"]
cmake_args += ["-DPOETRY=1"]
cmake_args += ["-DWITH_QT5=1"]

View File

@ -12,7 +12,6 @@ packages = [
python = "^3.6"
[tool.poetry.dev-dependencies]
ninja = ">=1.10"
cmake = ">=3"
[tool.poetry.scripts]
@ -28,4 +27,13 @@ requires = ["poetry-core", "setuptools", "cmake", "patchelf"]
build-backend = "poetry.core.masonry.api"
[tool.cibuildwheel.linux]
before-all = "yum install -y qt5-qtbase-devel qt5-qtsvg-devel boost-devel rapidjson-devel bison flex doxygen bzip2-devel python-devel"
before-all = '''
yum install -y \
qt5-qtbase-devel qt5-qtsvg-devel \
rapidjson-devel bison flex doxygen bzip2-devel flex-devel \
boost-devel \
boost-python boost-filesystem \
boost-regex boost-wave \
python3-devel libxml2-devel \
qwt-devel
'''