mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[build] Exclude pkg_resources from being collected (#13320)
				
					
				
			Closes #13311 Authored by: bashonly
This commit is contained in:
		| @@ -2,6 +2,7 @@ | ||||
| set -e | ||||
|  | ||||
| source ~/.local/share/pipx/venvs/pyinstaller/bin/activate | ||||
| python -m devscripts.install_deps -o --include build | ||||
| python -m devscripts.install_deps --include secretstorage --include curl-cffi | ||||
| python -m devscripts.make_lazy_extractors | ||||
| python devscripts/update-version.py -c "${channel}" -r "${origin}" "${version}" | ||||
|   | ||||
| @@ -36,6 +36,9 @@ def main(): | ||||
|         f'--name={name}', | ||||
|         '--icon=devscripts/logo.ico', | ||||
|         '--upx-exclude=vcruntime140.dll', | ||||
|         # Ref: https://github.com/yt-dlp/yt-dlp/issues/13311 | ||||
|         #      https://github.com/pyinstaller/pyinstaller/issues/9149 | ||||
|         '--exclude-module=pkg_resources', | ||||
|         '--noconfirm', | ||||
|         '--additional-hooks-dir=yt_dlp/__pyinstaller', | ||||
|         *opts, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly