| 
									
										
										
										
											2000-05-13 03:32:36 +00:00
										 |  |  | """distutils.command.x | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-05-30 02:04:54 +00:00
										 |  |  | Implements the Distutils 'x' command. | 
					
						
							|  |  |  | """ | 
					
						
							| 
									
										
										
										
											2000-05-13 03:32:36 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-05-13 03:35:05 +00:00
										 |  |  | # created 2000/mm/dd, John Doe | 
					
						
							| 
									
										
										
										
											2000-05-13 03:32:36 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | __revision__ = "$Id$" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | from distutils.core import Command | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class x (Command): | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-05-13 03:35:05 +00:00
										 |  |  |     # Brief (40-50 characters) description of the command | 
					
						
							| 
									
										
										
										
											2000-05-13 03:32:36 +00:00
										 |  |  |     description = "" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-05-13 03:35:05 +00:00
										 |  |  |     # List of option tuples: long name, short name (None if no short | 
					
						
							|  |  |  |     # name), and help string. | 
					
						
							| 
									
										
										
										
											2000-05-13 03:32:36 +00:00
										 |  |  |     user_options = [('', '', | 
					
						
							|  |  |  |                      ""), | 
					
						
							|  |  |  |                    ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def initialize_options (self): | 
					
						
							|  |  |  |         self. = None | 
					
						
							|  |  |  |         self. = None | 
					
						
							|  |  |  |         self. = None | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     # initialize_options() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def finalize_options (self): | 
					
						
							| 
									
										
										
										
											2000-05-13 03:35:05 +00:00
										 |  |  |         if self.x is None: | 
					
						
							|  |  |  |             self.x =  | 
					
						
							| 
									
										
										
										
											2000-05-13 03:32:36 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     # finalize_options() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     def run (self): | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     # run() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # class x |