From 35f8b7849a688f21bd36390304c138cac02adc2d Mon Sep 17 00:00:00 2001 From: Hydrus Network Developer Date: Wed, 8 Jun 2022 15:45:02 -0500 Subject: [PATCH] Version 488 build scripts fix for macos opencv --- .github/workflows/release.yml | 2 +- static/build_files/macos/requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c96012aa..229b4955 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: cd $GITHUB_WORKSPACE cp ${{ steps.setup_ffmpeg.outputs.ffmpeg-path }} bin/ cp static/build_files/macos/pyoxidizer.bzl pyoxidizer.bzl - cp static/build_files/linux/requirements.txt requirements.txt + cp static/build_files/macos/requirements.txt requirements.txt basename $(rustc --print sysroot) | sed -e "s/^stable-//" > triple.txt pyoxidizer build --release cd build/$(head -n 1 triple.txt)/release diff --git a/static/build_files/macos/requirements.txt b/static/build_files/macos/requirements.txt index cd95a006..8da843e7 100644 --- a/static/build_files/macos/requirements.txt +++ b/static/build_files/macos/requirements.txt @@ -7,14 +7,13 @@ lxml>=4.5.0 lz4>=3.0.0 nose>=1.3.0 numpy>=1.16.0 -opencv-python-headless>=4.0.0, <=4.5.3.56 Pillow>=6.0.0 psutil>=5.0.0 pylzma>=0.5.0 pyOpenSSL>=19.1.0 PySide2>=5.15.0 PySocks>=1.7.0 -python-mpv>=0.4.5 +python-mpv==0.4.5 PyYAML>=5.0.0 QtPy>=1.9.0 requests==2.23.0 @@ -22,3 +21,4 @@ Send2Trash>=1.5.0 service-identity>=18.1.0 six>=1.14.0 Twisted>=20.3.0 +https://files.pythonhosted.org/packages/ee/c8/e6c9686e035b387267524932cdd6f3f11acddc943bfcdaedb8c44c103a14/opencv_python_headless-4.5.3.56-cp39-cp39-macosx_10_15_x86_64.whl==4.5.3.56 \ No newline at end of file