| 
									
										
										
										
											1999-09-22 15:24:04 +00:00
										 |  |  | """distutils
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-04-23 17:13:03 +00:00
										 |  |  | The main package for the Python Module Distribution Utilities.  Normally | 
					
						
							| 
									
										
										
										
											1999-09-22 15:24:04 +00:00
										 |  |  | used from a setup script as | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    from distutils.core import setup | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    setup (...) | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-25 21:24:00 -05:00
										 |  |  | import sys | 
					
						
							| 
									
										
										
										
											2021-01-29 21:48:55 +00:00
										 |  |  | import warnings | 
					
						
							| 
									
										
										
										
											2015-05-25 21:24:00 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | __version__ = sys.version[:sys.version.index(' ')] | 
					
						
							| 
									
										
										
										
											2021-01-29 21:48:55 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-16 11:26:40 +02:00
										 |  |  | _DEPRECATION_MESSAGE = ("The distutils package is deprecated and slated for " | 
					
						
							|  |  |  |                         "removal in Python 3.12. Use setuptools or check " | 
					
						
							|  |  |  |                         "PEP 632 for potential alternatives") | 
					
						
							|  |  |  | warnings.warn(_DEPRECATION_MESSAGE, | 
					
						
							| 
									
										
										
										
											2021-03-02 11:49:10 +09:00
										 |  |  |               DeprecationWarning, 2) |