Skip to content

Commit

Permalink
Update after changes in mpi4py/mpi4py@master
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl committed Nov 15, 2023
1 parent cb10026 commit 5e38550
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .cibw/merge-wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ def wheel_tagline(tags: list[str]) -> str:
data = data.replace(variant, "")
metadata.write_text(data, encoding="utf-8")

pkgdata = package_dir / "mpi.cfg"
pkgdata.write_text("[mpi]\n", encoding="utf-8")
if int(version.partition('.')[0]) < 4:
pkgdata = package_dir / "mpi.cfg"
pkgdata.write_text("[mpi]\n", encoding="utf-8")

transtb = str.maketrans("_.", "--")
variant = variant[1:].translate(transtb)
Expand Down

0 comments on commit 5e38550

Please sign in to comment.