mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								#!/usr/bin/env python3
							 | 
						||
| 
								 | 
							
								if __name__ == '__main__':
							 | 
						||
| 
								 | 
							
								    import sys
							 | 
						||
| 
								 | 
							
								    rc = 1
							 | 
						||
| 
								 | 
							
								    try:
							 | 
						||
| 
								 | 
							
								        import venv
							 | 
						||
| 
								 | 
							
								        venv.main()
							 | 
						||
| 
								 | 
							
								        rc = 0
							 | 
						||
| 
								 | 
							
								    except Exception as e:
							 | 
						||
| 
								 | 
							
								        print('Error: %s' % e, file=sys.stderr)
							 | 
						||
| 
								 | 
							
								    sys.exit(rc)
							 |