mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			357 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			357 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import sys
 | 
						|
 | 
						|
try:
 | 
						|
    import layout
 | 
						|
except ImportError:
 | 
						|
    # Failed to import our package, which likely means we were started directly
 | 
						|
    # Add the additional search path needed to locate our module.
 | 
						|
    from pathlib import Path
 | 
						|
 | 
						|
    sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
 | 
						|
 | 
						|
from layout.main import main
 | 
						|
 | 
						|
sys.exit(int(main() or 0))
 |