mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-07-07 10:49:06 +00:00
[misc] Fix third party license information (#17150)
Authored by: bashonly, seproDev Co-authored-by: sepro <sepro@sepr0.com>
This commit is contained in:
parent
981190089f
commit
b3854cc41b
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -280,7 +280,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
printf '\n\n%s\n\n%s%s%s\n\n---\n' \
|
printf '\n\n%s\n\n%s%s%s\n\n---\n' \
|
||||||
"#### A description of the various files is in the [README](https://github.com/${REPOSITORY}#release-files)" \
|
"#### A description of the various files is in the [README](https://github.com/${REPOSITORY}#release-files)" \
|
||||||
"The zipimport Unix executable contains code licensed under ISC and MIT. " \
|
"The zipimport Unix executable and release tarball contain code licensed under ISC and MIT. " \
|
||||||
"The PyInstaller-bundled executables are subject to these and other licenses, all of which are compiled in " \
|
"The PyInstaller-bundled executables are subject to these and other licenses, all of which are compiled in " \
|
||||||
"[THIRD_PARTY_LICENSES.txt](https://github.com/${BASE_REPO}/blob/${HEAD_SHA}/THIRD_PARTY_LICENSES.txt)" >> ./RELEASE_NOTES
|
"[THIRD_PARTY_LICENSES.txt](https://github.com/${BASE_REPO}/blob/${HEAD_SHA}/THIRD_PARTY_LICENSES.txt)" >> ./RELEASE_NOTES
|
||||||
python ./devscripts/make_changelog.py -vv --collapsible >> ./RELEASE_NOTES
|
python ./devscripts/make_changelog.py -vv --collapsible >> ./RELEASE_NOTES
|
||||||
|
|||||||
@ -142,11 +142,11 @@ While yt-dlp is licensed under the [Unlicense](LICENSE), many of the release fil
|
|||||||
|
|
||||||
Most notably, the PyInstaller-bundled executables include GPLv3+ licensed code, and as such the combined work is licensed under [GPLv3+](https://www.gnu.org/licenses/gpl-3.0.html).
|
Most notably, the PyInstaller-bundled executables include GPLv3+ licensed code, and as such the combined work is licensed under [GPLv3+](https://www.gnu.org/licenses/gpl-3.0.html).
|
||||||
|
|
||||||
The zipimport Unix executable (`yt-dlp`) contains [ISC](https://github.com/meriyah/meriyah/blob/main/LICENSE.md) licensed code from [`meriyah`](https://github.com/meriyah/meriyah) and [MIT](https://github.com/davidbonnet/astring/blob/main/LICENSE) licensed code from [`astring`](https://github.com/davidbonnet/astring).
|
The zipimport Unix executable (`yt-dlp`) and release tarball (`yt-dlp.tar.gz`) contain [ISC](https://github.com/meriyah/meriyah/blob/main/LICENSE.md) licensed code from [`meriyah`](https://github.com/meriyah/meriyah) and [MIT](https://github.com/davidbonnet/astring/blob/main/LICENSE) licensed code from [`astring`](https://github.com/davidbonnet/astring).
|
||||||
|
|
||||||
See [THIRD_PARTY_LICENSES.txt](THIRD_PARTY_LICENSES.txt) for more details.
|
See [THIRD_PARTY_LICENSES.txt](THIRD_PARTY_LICENSES.txt) for more details.
|
||||||
|
|
||||||
The git repository, the source tarball (`yt-dlp.tar.gz`), the PyPI source distribution and the PyPI built distribution (wheel) only contain code licensed under the [Unlicense](LICENSE).
|
The git repository, the PyPI source distribution and the PyPI built distribution (wheel) only contain code licensed under the [Unlicense](LICENSE).
|
||||||
|
|
||||||
<!-- MANPAGE: END EXCLUDED SECTION -->
|
<!-- MANPAGE: END EXCLUDED SECTION -->
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -38,11 +38,16 @@ def main():
|
|||||||
f'--name={name}',
|
f'--name={name}',
|
||||||
'--icon=devscripts/logo.ico',
|
'--icon=devscripts/logo.ico',
|
||||||
'--upx-exclude=vcruntime140.dll',
|
'--upx-exclude=vcruntime140.dll',
|
||||||
|
# setuptools and packaging are PyInstaller runtime dependencies,
|
||||||
|
# but would be collected due to cffi's imports if we don't exclude
|
||||||
|
'--exclude-module=setuptools',
|
||||||
|
'--exclude-module=packaging',
|
||||||
# Ref: https://github.com/yt-dlp/yt-dlp/issues/13311
|
# Ref: https://github.com/yt-dlp/yt-dlp/issues/13311
|
||||||
# https://github.com/pyinstaller/pyinstaller/issues/9149
|
# https://github.com/pyinstaller/pyinstaller/issues/9149
|
||||||
'--exclude-module=pkg_resources',
|
'--exclude-module=pkg_resources',
|
||||||
'--noconfirm',
|
'--noconfirm',
|
||||||
'--additional-hooks-dir=yt_dlp/__pyinstaller',
|
'--additional-hooks-dir=yt_dlp/__pyinstaller',
|
||||||
|
'--add-data=THIRD_PARTY_LICENSES.txt:.',
|
||||||
*opts,
|
*opts,
|
||||||
'yt_dlp/__main__.py',
|
'yt_dlp/__main__.py',
|
||||||
]
|
]
|
||||||
|
|||||||
@ -10,7 +10,7 @@ HEADER = '''THIRD-PARTY LICENSES
|
|||||||
This file aggregates license texts of third-party components included with the yt-dlp PyInstaller-bundled executables.
|
This file aggregates license texts of third-party components included with the yt-dlp PyInstaller-bundled executables.
|
||||||
yt-dlp itself is licensed under the Unlicense (see LICENSE file).
|
yt-dlp itself is licensed under the Unlicense (see LICENSE file).
|
||||||
Source code for bundled third-party components is available from the original projects.
|
Source code for bundled third-party components is available from the original projects.
|
||||||
If you cannot obtain it, the maintainers will provide it as per license obligation; maintainer emails are listed in pyproject.toml.'''
|
If you cannot obtain it, the maintainers will provide it as per license obligation: email maintainers@yt-dlp.org'''
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
@ -47,6 +47,13 @@ DEPENDENCIES: list[Dependency] = [
|
|||||||
license_url='https://raw.githubusercontent.com/libffi/libffi/refs/heads/master/LICENSE',
|
license_url='https://raw.githubusercontent.com/libffi/libffi/refs/heads/master/LICENSE',
|
||||||
project_url='https://sourceware.org/libffi/',
|
project_url='https://sourceware.org/libffi/',
|
||||||
),
|
),
|
||||||
|
Dependency(
|
||||||
|
name='OpenSSL 1.x',
|
||||||
|
license='OpenSSL',
|
||||||
|
license_url='https://raw.githubusercontent.com/openssl/openssl/refs/tags/OpenSSL_1_1_1t/LICENSE',
|
||||||
|
comment='Only included in `yt-dlp.exe` and `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://www.openssl.org/',
|
||||||
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
name='OpenSSL 3.0+',
|
name='OpenSSL 3.0+',
|
||||||
license='Apache-2.0',
|
license='Apache-2.0',
|
||||||
@ -123,43 +130,79 @@ DEPENDENCIES: list[Dependency] = [
|
|||||||
name='libintl',
|
name='libintl',
|
||||||
license='LGPL-2.1-or-later',
|
license='LGPL-2.1-or-later',
|
||||||
license_url='https://raw.githubusercontent.com/autotools-mirror/gettext/refs/heads/master/gettext-runtime/intl/COPYING.LIB',
|
license_url='https://raw.githubusercontent.com/autotools-mirror/gettext/refs/heads/master/gettext-runtime/intl/COPYING.LIB',
|
||||||
comment='Only included in macOS builds',
|
comment='Only included in Linux builds',
|
||||||
project_url='https://www.gnu.org/software/gettext/',
|
project_url='https://www.gnu.org/software/gettext/',
|
||||||
),
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
name='libidn2',
|
name='libidn2',
|
||||||
license='LGPL-3.0-or-later',
|
license='LGPL-3.0-or-later',
|
||||||
license_url='https://gitlab.com/libidn/libidn2/-/raw/master/COPYING.LESSERv3',
|
license_url='https://gitlab.com/libidn/libidn2/-/raw/master/COPYING.LESSERv3',
|
||||||
comment='Only included in macOS builds',
|
comment='Only included in Linux builds',
|
||||||
project_url='https://www.gnu.org/software/libidn/',
|
project_url='https://www.gnu.org/software/libidn/',
|
||||||
),
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
name='libidn2 (Unicode character data files)',
|
name='libidn2 (Unicode character data files)',
|
||||||
license='Unicode-TOU AND Unicode-DFS-2016',
|
license='Unicode-TOU AND Unicode-DFS-2016',
|
||||||
license_url='https://gitlab.com/libidn/libidn2/-/raw/master/COPYING.unicode',
|
license_url='https://gitlab.com/libidn/libidn2/-/raw/master/COPYING.unicode',
|
||||||
comment='Only included in macOS builds',
|
comment='Only included in Linux builds',
|
||||||
project_url='https://www.gnu.org/software/libidn/',
|
project_url='https://www.gnu.org/software/libidn/',
|
||||||
),
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
name='libunistring',
|
name='libunistring',
|
||||||
license='LGPL-3.0-or-later',
|
license='LGPL-3.0-or-later',
|
||||||
license_url='https://gitweb.git.savannah.gnu.org/gitweb/?p=libunistring.git;a=blob_plain;f=COPYING.LIB;hb=HEAD',
|
license_url='https://gitweb.git.savannah.gnu.org/gitweb/?p=libunistring.git;a=blob_plain;f=COPYING.LIB;hb=HEAD',
|
||||||
comment='Only included in macOS builds',
|
comment='Only included in Linux builds',
|
||||||
project_url='https://www.gnu.org/software/libunistring/',
|
project_url='https://www.gnu.org/software/libunistring/',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# Non-Python dependencies of curl_cffi
|
||||||
Dependency(
|
Dependency(
|
||||||
name='librtmp',
|
name='curl-impersonate',
|
||||||
license='LGPL-2.1-or-later',
|
license='MIT',
|
||||||
# No official repo URL
|
license_url='https://raw.githubusercontent.com/lexiforest/curl-impersonate/refs/heads/main/LICENSE',
|
||||||
license_url='https://gist.githubusercontent.com/seproDev/31d8c691ccddebe37b8b379307cb232d/raw/053408e98547ea8c7d9ba3a80c965f33e163b881/librtmp_COPYING.txt',
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
comment='Only included in macOS builds',
|
project_url='https://github.com/lexiforest/curl-impersonate',
|
||||||
project_url='https://rtmpdump.mplayerhq.hu/',
|
),
|
||||||
|
Dependency(
|
||||||
|
name='curl',
|
||||||
|
license='curl',
|
||||||
|
license_url='https://raw.githubusercontent.com/curl/curl/refs/heads/master/LICENSES/curl.txt',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://curl.se/',
|
||||||
|
),
|
||||||
|
Dependency(
|
||||||
|
name='BoringSSL',
|
||||||
|
license='Apache-2.0',
|
||||||
|
license_url='https://raw.githubusercontent.com/google/boringssl/refs/heads/main/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://boringssl.googlesource.com/boringssl',
|
||||||
|
),
|
||||||
|
Dependency(
|
||||||
|
name='nghttp2',
|
||||||
|
license='MIT',
|
||||||
|
license_url='https://raw.githubusercontent.com/nghttp2/nghttp2/refs/heads/master/COPYING',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://nghttp2.org/',
|
||||||
|
),
|
||||||
|
Dependency(
|
||||||
|
name='ngtcp2',
|
||||||
|
license='MIT',
|
||||||
|
license_url='https://raw.githubusercontent.com/ngtcp2/ngtcp2/refs/heads/main/COPYING',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://nghttp2.org/ngtcp2/',
|
||||||
|
),
|
||||||
|
Dependency(
|
||||||
|
name='nghttp3',
|
||||||
|
license='MIT',
|
||||||
|
license_url='https://raw.githubusercontent.com/ngtcp2/nghttp3/refs/heads/main/COPYING',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://nghttp2.org/nghttp3/',
|
||||||
),
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
name='zstd',
|
name='zstd',
|
||||||
license='BSD-3-Clause',
|
license='BSD-3-Clause',
|
||||||
license_url='https://raw.githubusercontent.com/facebook/zstd/refs/heads/dev/LICENSE',
|
license_url='https://raw.githubusercontent.com/facebook/zstd/refs/heads/dev/LICENSE',
|
||||||
comment='Only included in macOS builds',
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
project_url='https://facebook.github.io/zstd/',
|
project_url='https://facebook.github.io/zstd/',
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -174,28 +217,74 @@ DEPENDENCIES: list[Dependency] = [
|
|||||||
name='curl_cffi',
|
name='curl_cffi',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
license_url='https://raw.githubusercontent.com/lexiforest/curl_cffi/refs/heads/main/LICENSE',
|
license_url='https://raw.githubusercontent.com/lexiforest/curl_cffi/refs/heads/main/LICENSE',
|
||||||
comment='Not included in `yt-dlp_x86` and `yt-dlp_musllinux_aarch64` builds',
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
project_url='https://curl-cffi.readthedocs.io/',
|
project_url='https://curl-cffi.readthedocs.io/',
|
||||||
),
|
),
|
||||||
|
# curl_cffi vendored code:
|
||||||
|
# - https://github.com/lexiforest/curl_cffi/blob/v0.15.0/curl_cffi/_asyncio_selector.py
|
||||||
|
Dependency(
|
||||||
|
name='Tornado',
|
||||||
|
license='Apache-2.0',
|
||||||
|
license_url='https://raw.githubusercontent.com/tornadoweb/tornado/master/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='http://www.tornadoweb.org/',
|
||||||
|
),
|
||||||
|
# curl_cffi vendored code:
|
||||||
|
# - https://github.com/lexiforest/curl_cffi/blob/v0.15.0/curl_cffi/requests/cookies.py
|
||||||
|
# - https://github.com/lexiforest/curl_cffi/blob/v0.15.0/curl_cffi/requests/headers.py
|
||||||
|
Dependency(
|
||||||
|
name='httpx',
|
||||||
|
license='BSD-3-Clause',
|
||||||
|
license_url='https://github.com/encode/httpx/raw/master/LICENSE.md',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://www.python-httpx.org/',
|
||||||
|
),
|
||||||
# Dependency of curl_cffi
|
# Dependency of curl_cffi
|
||||||
Dependency(
|
Dependency(
|
||||||
name='curl-impersonate',
|
name='rich',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
license_url='https://raw.githubusercontent.com/lexiforest/curl-impersonate/refs/heads/main/LICENSE',
|
license_url='https://raw.githubusercontent.com/Textualize/rich/refs/heads/main/LICENSE',
|
||||||
comment='Not included in `yt-dlp_x86` and `yt-dlp_musllinux_aarch64` builds',
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
project_url='https://github.com/lexiforest/curl-impersonate',
|
project_url='https://rich.readthedocs.io/',
|
||||||
),
|
),
|
||||||
|
# Dependency of rich
|
||||||
|
Dependency(
|
||||||
|
name='pygments',
|
||||||
|
license='BSD-2-Clause',
|
||||||
|
license_url='https://raw.githubusercontent.com/pygments/pygments/refs/heads/master/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='http://pygments.org/',
|
||||||
|
),
|
||||||
|
# Dependency of rich
|
||||||
|
Dependency(
|
||||||
|
name='markdown-it-py',
|
||||||
|
license='MIT',
|
||||||
|
license_url='https://raw.githubusercontent.com/executablebooks/markdown-it-py/refs/heads/master/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://markdown-it-py.readthedocs.io/',
|
||||||
|
),
|
||||||
|
# Dependency of markdown-it-py
|
||||||
|
Dependency(
|
||||||
|
name='mdurl',
|
||||||
|
license='MIT',
|
||||||
|
license_url='https://raw.githubusercontent.com/executablebooks/mdurl/refs/heads/master/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
|
project_url='https://github.com/executablebooks/mdurl',
|
||||||
|
),
|
||||||
|
# Dependency of cryptography and curl_cffi
|
||||||
Dependency(
|
Dependency(
|
||||||
name='cffi',
|
name='cffi',
|
||||||
license='MIT-0', # Technically does not need to be included
|
license='MIT-0', # Technically does not need to be included
|
||||||
license_url='https://raw.githubusercontent.com/python-cffi/cffi/refs/heads/main/LICENSE',
|
license_url='https://raw.githubusercontent.com/python-cffi/cffi/refs/heads/main/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
project_url='https://cffi.readthedocs.io/',
|
project_url='https://cffi.readthedocs.io/',
|
||||||
),
|
),
|
||||||
# Dependecy of cffi
|
# Dependency of cffi
|
||||||
Dependency(
|
Dependency(
|
||||||
name='pycparser',
|
name='pycparser',
|
||||||
license='BSD-3-Clause',
|
license='BSD-3-Clause',
|
||||||
license_url='https://raw.githubusercontent.com/eliben/pycparser/refs/heads/main/LICENSE',
|
license_url='https://raw.githubusercontent.com/eliben/pycparser/refs/heads/main/LICENSE',
|
||||||
|
comment='Not included in `yt-dlp_x86.exe` Windows builds',
|
||||||
project_url='https://github.com/eliben/pycparser',
|
project_url='https://github.com/eliben/pycparser',
|
||||||
),
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
@ -276,12 +365,14 @@ DEPENDENCIES: list[Dependency] = [
|
|||||||
name='Meriyah',
|
name='Meriyah',
|
||||||
license='ISC',
|
license='ISC',
|
||||||
license_url='https://raw.githubusercontent.com/meriyah/meriyah/refs/heads/main/LICENSE.md',
|
license_url='https://raw.githubusercontent.com/meriyah/meriyah/refs/heads/main/LICENSE.md',
|
||||||
|
comment='Also included in `yt-dlp` zipimport Unix executables and `yt-dlp.tar.gz` release tarballs',
|
||||||
project_url='https://github.com/meriyah/meriyah',
|
project_url='https://github.com/meriyah/meriyah',
|
||||||
),
|
),
|
||||||
Dependency(
|
Dependency(
|
||||||
name='Astring',
|
name='Astring',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
license_url='https://raw.githubusercontent.com/davidbonnet/astring/refs/heads/main/LICENSE',
|
license_url='https://raw.githubusercontent.com/davidbonnet/astring/refs/heads/main/LICENSE',
|
||||||
|
comment='Also included in `yt-dlp` zipimport Unix executables and `yt-dlp.tar.gz` release tarballs',
|
||||||
project_url='https://github.com/davidbonnet/astring/',
|
project_url='https://github.com/davidbonnet/astring/',
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user