Skip to content

Commit 05b6cc8

Browse files
authored
Merge pull request #251 from Erotemic/add-osx-arm-wheels
Add arm support for osx
2 parents 365feb1 + 8bb3eef commit 05b6cc8

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changes
44
4.1.2
55
~~~~
66
* ENH: Add support for Python 3.12 #246
7+
* ENH: Add osx universal2 and arm64 wheels
78

89
4.1.1
910
~~~~

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ build-verbosity = 1
4141
test-requires = [ "-r requirements/tests.txt",]
4242
test-command = "python {project}/run_tests.py"
4343

44+
# https://cibuildwheel.readthedocs.io/en/stable/options/#archs
45+
[tool.cibuildwheel.macos]
46+
archs = ["x86_64", "universal2", "arm64"]
47+
48+
4449
[tool.mypy]
4550
ignore_missing_imports = true
4651

requirements/build.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Cython>=3.0.3
33

44
setuptools>=68.2.2; python_version < '4.0' and python_version >= '3.8'
5+
setuptools>=41.0.1; python_version < '3.8' and python_version >= '3.6'
56

67
scikit-build>=0.11.1
78
cmake>=3.21.2

0 commit comments

Comments
 (0)