@@ -18,12 +18,25 @@ authors = [
1818name = " ITKPythonPackage"
1919version = " 0.1.0"
2020channels = [" conda-forge" ]
21- platforms = [" linux-64" , " linux-aarch64" , " osx-arm64" , " win-64" ]
21+ platforms = [
22+ " linux-64" ,
23+ " linux-aarch64" ,
24+ " osx-arm64" ,
25+ " win-64" ,
26+ { name = " linux-64-manylinux228" , platform = " linux-64" , glibc = " 2.28" , linux = " 5.4" },
27+ { name = " linux-aarch64-manylinux228" , platform = " linux-aarch64" , glibc = " 2.28" , linux = " 5.4" },
28+ { name = " osx-arm64-macos14" , platform = " osx-arm64" , macos = " 14.0" },
29+ ]
2230
2331# #######################################
2432# Common features used by all envs
2533# #######################################
2634
35+ # The default environment's platforms; the named entries above are for builds
36+ [feature .host-platforms ]
37+ platforms = [" linux-64" , " linux-aarch64" , " osx-arm64" , " win-64" ]
38+
39+
2740# Build tooling shared by all platforms
2841[feature .build-dev-tools ]
2942[feature .build-dev-tools .dependencies ]
@@ -83,11 +96,7 @@ texlive-core = "*" # bibtex, for Doxygen \cite in wrapping docstrings
8396wheel = " *"
8497
8598[feature .manylinux228-build ]
86- platforms = [" linux-64" , " linux-aarch64" ]
87-
88- [feature .manylinux228-build .system-requirements ]
89- linux = " 5.4"
90- libc = { family = " glibc" , version = " 2.28" }
99+ platforms = [" linux-64-manylinux228" , " linux-aarch64-manylinux228" ]
91100
92101[feature .linux-build .activation .env ]
93102PYTHONNOUSERSITE = " 1" # Exclude system .local site packages
@@ -97,8 +106,7 @@ PYTHONNOUSERSITE = "1" # Exclude system .local site packages
97106# #######################################
98107
99108[feature .macosx-build ]
100- platforms = [" osx-arm64" ]
101- system-requirements = { macos = " 14.0" }
109+ platforms = [" osx-arm64-macos14" ]
102110
103111# delocate is a Python tool; cxx-compiler is the macOS toolchain meta-package
104112[feature .macosx-build .pypi-dependencies ]
@@ -130,6 +138,7 @@ python = ">=3.11,<3.12"
130138# Publishing feature (no compilers needed)
131139# #######################################
132140[feature .publish ]
141+ platforms = [" linux-64" , " linux-aarch64" , " osx-arm64" , " win-64" ]
133142[feature .publish .dependencies ]
134143python = " >=3.11"
135144gh = " *"
@@ -144,6 +153,7 @@ twine = ">=6.0"
144153# Never referenced by any build environment.
145154# #######################################
146155[feature .dev ]
156+ platforms = [" linux-64" , " linux-aarch64" , " osx-arm64" , " win-64" ]
147157[feature .dev .dependencies ]
148158python = " >=3.11"
149159pytest = " >=8"
@@ -159,6 +169,7 @@ description = "Run the developer unit test suite"
159169# #######################################
160170
161171[environments ]
172+ default = [" host-platforms" ]
162173publish = [" publish" ]
163174dev = [" py311" , " dev" ]
164175linux-py311 = [" py311" , " linux-build" , " build-dev-tools" , " python-dev-pkgs" ]
0 commit comments