refactor: --archs, CIBW_ARCHS, "auto"

Using `--archs` for the flag, comma separated, also accepting CIBW_ARCHS.
Supports "auto" as the default that can also expand, matching
CIBW_PLATFORM.
This commit is contained in:
Henry Schreiner
2020-12-18 12:30:02 -05:00
parent ec99c01b2f
commit 0d29bf8dae
3 changed files with 22 additions and 16 deletions
+1
View File
@@ -122,6 +122,7 @@ class DependencyConstraints:
class Architecture(str, Enum):
auto = 'auto' # gets expanded to the native arch, possibly 32+64 bit
x86_64 = 'x86_64'
i686 = 'i686'
aarch64 = 'aarch64'