mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 03:04:41 +00:00 
			
		
		
		
	install idle and pydoc with a 3 suffix #5756
This commit is contained in:
		
							parent
							
								
									f4841e2df7
								
							
						
					
					
						commit
						0b4915e99e
					
				
					 4 changed files with 8 additions and 9 deletions
				
			
		|  | @ -76,6 +76,11 @@ Core and Builtins | ||||||
| - Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)' | - Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)' | ||||||
|   to avoid compiler warnings. |   to avoid compiler warnings. | ||||||
| 
 | 
 | ||||||
|  | Installation | ||||||
|  | ------------ | ||||||
|  | 
 | ||||||
|  | - Issue #5756: Install idle and pydoc with a 3 suffix. | ||||||
|  | 
 | ||||||
| Library | Library | ||||||
| ------- | ------- | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| #! /usr/bin/env python | #! /usr/bin/env python3 | ||||||
| 
 | 
 | ||||||
| from idlelib.PyShell import main | from idlelib.PyShell import main | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| #!/usr/bin/env python | #!/usr/bin/env python3 | ||||||
| 
 | 
 | ||||||
| import pydoc | import pydoc | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
							
								
								
									
										8
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								setup.py
									
										
									
									
									
								
							|  | @ -1652,13 +1652,7 @@ def main(): | ||||||
|           # called unless there's at least one extension module defined. |           # called unless there's at least one extension module defined. | ||||||
|           ext_modules=[Extension('_struct', ['_struct.c'])], |           ext_modules=[Extension('_struct', ['_struct.c'])], | ||||||
| 
 | 
 | ||||||
|           # Scripts to install |           scripts = ["Tools/scripts/pydoc3", "Tools/scripts/idle3"] | ||||||
|           # Commented out because we don't want them to override the 2.x |  | ||||||
|           # ones. See #1590. |  | ||||||
|           scripts = [] |  | ||||||
|           #scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle', |  | ||||||
|           #           'Tools/scripts/2to3', |  | ||||||
|           #           'Lib/smtpd.py'] |  | ||||||
|         ) |         ) | ||||||
| 
 | 
 | ||||||
| # --install-platlib | # --install-platlib | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson