mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[build] Ensure compat._legacy is packed in executables
				
					
				
			Fixes 9196cbfe8b (commitcomment-72192406)
			
			
This commit is contained in:
		
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							| @@ -48,6 +48,8 @@ if sys.argv[1:2] == ['py2exe']: | ||||
|                 'dist_dir': './dist', | ||||
|                 'excludes': ['Crypto', 'Cryptodome'],  # py2exe cannot import Crypto | ||||
|                 'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'], | ||||
|                 # Modules that are only imported dynamically must be added here | ||||
|                 'includes': ['yt_dlp.compat._legacy'], | ||||
|             } | ||||
|         }, | ||||
|         'zipfile': None | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan