mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	 144fa678d2
			
		
	
	
		144fa678d2
		
	
	
	
	
		
			
			augmenting them here and there. For now, it works more-or-less similar to unix/windows freeze, generating a config.c file, but storing modules in PYC resources. A template project is also copied. The hooks are in place to freeze by merging shared libraries so you can freeze without a C compiler/linker, but this does not work yet.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			233 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			233 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """macgenerate - Generate the out for macfreeze"""
 | |
| 
 | |
| def generate(program, module_dict):
 | |
| 	for name in module_dict.keys():
 | |
| 		print 'Include %-20s\t'%name,
 | |
| 		module = module_dict[name]
 | |
| 		print module.gettype(), '\t', `module`
 | |
| 	return 0
 |