]> jfr.im git - yt-dlp.git/commitdiff
[build] Add `cffi` as a dependency for `yt_dlp_linux`
authorbashonly <redacted>
Fri, 3 Mar 2023 16:30:03 +0000 (22:00 +0530)
committerpukkandan <redacted>
Fri, 3 Mar 2023 17:25:10 +0000 (22:55 +0530)
Closes #6394
Authored by: bashonly

.github/workflows/build.yml

index 4c0c6837e64a23db00eab0d7a16aef28c3980a1e..93668a7bfa518257d700bd90850733c35e92bc8f 100644 (file)
@@ -100,8 +100,13 @@ jobs:
           python -m pip install -U pip setuptools wheel
           python -m pip install -U Pyinstaller -r requirements.txt
           reqs=$(mktemp)
-          echo -e 'python=3.10.*\npyinstaller' >$reqs
-          sed 's/^brotli.*/brotli-python/' <requirements.txt >>$reqs
+          cat > $reqs << EOF
+          python=3.10.*
+          pyinstaller
+          cffi
+          brotli-python
+          EOF
+          sed '/^brotli.*/d' requirements.txt >> $reqs
           mamba create -n build --file $reqs
 
       - name: Prepare