Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added some lines to get distutils into the system to deal with a fail…
Browse files Browse the repository at this point in the history
…ed wheel build due to not finding a package using an old Python version.
  • Loading branch information
daminton committed Aug 18, 2023
1 parent ddbb4c5 commit 62e49d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ requires = [
"cmake>=3.5.0",
"cython>=3.0.0",
"ninja",
"pytest"
"pytest",
"distutils"
]
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
dependency-versions = "latest"
test-requires = ["pytest","cython"]
test-command = "pytest {package}/tests"

[tool.cibuildwheel.linux]
environment = {SKBUILD_CONFIGURE_OPTIONS="-DBUILD_SHARED_LIBS=OFF", FFLAGS="${FFLAGS} -fPIC", CFLAGS="${CFLAGS} -fPIC", LDFLAGS="${LDFLAGS} -fPIE", LIBS="-lgomp"}
before-all = [
"yum install wget m4 doxygen -y",
"yum install wget m4 doxygen python3-distutils-extra -y",
"buildscripts/build_dependencies.sh",
]

Expand Down

0 comments on commit 62e49d5

Please sign in to comment.