Update pip.yml

This commit is contained in:
2025-09-20 23:27:41 +05:30
parent 97eb8f6d1a
commit 761bf2d660
4 changed files with 24 additions and 25 deletions

View File

@ -1,5 +1,4 @@
import os
import re
import subprocess
import sys
from pathlib import Path
@ -50,7 +49,7 @@ class CMakeBuild(build_ext):
f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm
]
build_args = []
# Adding CMake arguments set as environment variable
# (needed e.g. to build for ARM OSx on conda-forge)
if "CMAKE_ARGS" in os.environ: