Update build.yml

This commit is contained in:
Jay Lee
2022-03-03 18:07:40 -05:00
committed by GitHub
parent c63df9d245
commit 88308a352b

View File

@@ -417,13 +417,16 @@ jobs:
"${PYTHON}" -m pip install --upgrade -r requirements.txt
"${PYTHON}" -m pip list
if [[ "${RUNNER_OS}" == "macOS" ]]; then
"${PYTHON}" -m pip download --only-binary :all: \
--dest . \
--no-cache \
--no-deps \
--platform macosx_10_15_universal2 \
cryptography
"${PYTHON}" -m pip install --force cryptography*.whl
for package in cffi cryptography pyscard; do
"${PYTHON}" -m pip download --only-binary :all: \
--dest . \
--no-cache \
--no-deps \
--platform macosx_10_15_universal2 \
$package
ls -l *.whl
"${PYTHON}" -m pip install --force $package*.whl
done
find $PYTHON_INSTALL_PATH/lib/python3.10/site-packages -type f -name "*.so" -exec du -sh "{}" \;
fi