mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:57:06 -05:00 
			
		
		
		
	Try setuptools first, then fallback to distutils.core
This commit is contained in:
		
							
								
								
									
										6
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								setup.py
									
									
									
									
									
								
							@@ -2,10 +2,14 @@
 | 
			
		||||
# -*- coding: utf-8 -*-
 | 
			
		||||
 | 
			
		||||
from __future__ import print_function
 | 
			
		||||
from distutils.core import setup
 | 
			
		||||
import pkg_resources
 | 
			
		||||
import sys
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    from setuptools import setup
 | 
			
		||||
except ImportError:
 | 
			
		||||
    from distutils.core import setup
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    import py2exe
 | 
			
		||||
    """This will create an exe that needs Microsoft Visual C++ 2008 Redistributable Package"""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user