1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[build] include yt-dlp 'default' optional dependencies

https://github.com/yt-dlp/yt-dlp/pull/11255
This commit is contained in:
Mike Fährmann 2024-10-17 09:20:26 +02:00
parent d3dcc44bd1
commit 9b4c94fda8
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ jobs:
- name: Build executable - name: Build executable
run: | run: |
pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller pip install requests requests[socks] yt-dlp[default] pyyaml ${{ matrix.python-packages }} pyinstaller
python ./scripts/pyinstaller.py --label '${{ env.LABEL }}' python ./scripts/pyinstaller.py --label '${{ env.LABEL }}'
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4

View File

@ -12,7 +12,7 @@ RUN : \
pip \ pip \
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \ && python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \
https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \ https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \
yt-dlp \ yt-dlp[default] \
&& ( rm -rf /root/.cache/pip || true ) \ && ( rm -rf /root/.cache/pip || true ) \
&& ( find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + || true ) \ && ( find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + || true ) \
&& ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \ && ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \