mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	setup: Move pseudo-docstring to a proper comment.
A string statement is not a docstring if it doesn't occur right at the top of modules, functions, class definitions etc. This patch fixes it. Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
This commit is contained in:
		
							
								
								
									
										3
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								setup.py
									
									
									
									
									
								
							| @@ -12,8 +12,9 @@ except ImportError: | |||||||
|     from distutils.core import setup |     from distutils.core import setup | ||||||
|  |  | ||||||
| try: | try: | ||||||
|  |     # This will create an exe that needs Microsoft Visual C++ 2008 | ||||||
|  |     # Redistributable Package | ||||||
|     import py2exe |     import py2exe | ||||||
|     """This will create an exe that needs Microsoft Visual C++ 2008 Redistributable Package""" |  | ||||||
| except ImportError: | except ImportError: | ||||||
|     if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe': |     if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe': | ||||||
|         print("Cannot import py2exe", file=sys.stderr) |         print("Cannot import py2exe", file=sys.stderr) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user