refactor: pull out compute_options

This commit is contained in:
Henry Schreiner
2021-09-20 12:45:48 -04:00
parent a07edd9ddc
commit a7047a6955
3 changed files with 183 additions and 154 deletions
+19
View File
@@ -30,6 +30,25 @@ install_certifi_script = resources_dir / "install_certifi.py"
BuildFrontend = Literal["pip", "build"]
MANYLINUX_ARCHS = (
"x86_64",
"i686",
"pypy_x86_64",
"aarch64",
"ppc64le",
"s390x",
"pypy_aarch64",
"pypy_i686",
)
MUSLLINUX_ARCHS = (
"x86_64",
"i686",
"aarch64",
"ppc64le",
"s390x",
)
def prepare_command(command: str, **kwargs: PathOrStr) -> str:
"""