Fixes for cibuildwheel building
This commit is contained in:
parent
842602cdcb
commit
c1fdf4963b
4
build.py
4
build.py
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue