1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-13 11:45:29 +00:00

[devscripts] install_deps: Align options/terms with PEP 735 (#15200)

Authored by: bashonly
This commit is contained in:
bashonly
2025-12-07 17:39:05 -06:00
committed by GitHub
parent 1d43fa5af8
commit 29fe515d8d
11 changed files with 32 additions and 32 deletions

View File

@@ -15,12 +15,12 @@ function venvpy {
}
INCLUDES=(
--include-group pyinstaller
--include-group secretstorage
--include-extra pyinstaller
--include-extra secretstorage
)
if [[ -z "${EXCLUDE_CURL_CFFI:-}" ]]; then
INCLUDES+=(--include-group curl-cffi)
INCLUDES+=(--include-extra curl-cffi)
fi
runpy -m venv /yt-dlp-build-venv
@@ -28,7 +28,7 @@ runpy -m venv /yt-dlp-build-venv
source /yt-dlp-build-venv/bin/activate
# Inside the venv we use venvpy instead of runpy
venvpy -m ensurepip --upgrade --default-pip
venvpy -m devscripts.install_deps --only-optional-groups --include-group build
venvpy -m devscripts.install_deps --omit-default --include-extra build
venvpy -m devscripts.install_deps "${INCLUDES[@]}"
venvpy -m devscripts.make_lazy_extractors
venvpy devscripts/update-version.py -c "${CHANNEL}" -r "${ORIGIN}" "${VERSION}"