mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	Reorganized qt/pe/modules
--HG-- rename : qt/pe/modules/block/block.c => qt/pe/modules/block.c rename : qt/pe/modules/block/setup.py => qt/pe/modules/setup.py
This commit is contained in:
		
							parent
							
								
									962805936e
								
							
						
					
					
						commit
						3d62a7e64a
					
				
							
								
								
									
										10
									
								
								qt/pe/gen.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								qt/pe/gen.py
									
									
									
									
									
								
							@ -25,10 +25,8 @@ def move(src, dst):
 | 
			
		||||
    print 'Moving %s --> %s' % (src, dst)
 | 
			
		||||
    os.rename(src, dst)
 | 
			
		||||
 | 
			
		||||
# The CC=gcc-4.0 thing is because, in Snow Leopard, gcc-4.2 can't compile these units.
 | 
			
		||||
os.environ['CC'] = 'gcc-4.0'
 | 
			
		||||
os.chdir(op.join('modules', 'block'))
 | 
			
		||||
os.chdir('modules')
 | 
			
		||||
os.system('python setup.py build_ext --inplace')
 | 
			
		||||
os.chdir(op.join('..', '..'))
 | 
			
		||||
move(op.join('modules', 'block', '_block.so'), op.join('.', '_block.so'))
 | 
			
		||||
move(op.join('modules', 'block', '_block.pyd'), op.join('.', '_block.pyd'))
 | 
			
		||||
os.chdir('..')
 | 
			
		||||
move(op.join('modules', '_block.so'), op.join('.', '_block.so'))
 | 
			
		||||
move(op.join('modules', '_block.pyd'), op.join('.', '_block.pyd'))
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user