1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +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:
Virgil Dupras 2010-01-31 12:25:34 +01:00
parent 962805936e
commit 3d62a7e64a
3 changed files with 4 additions and 6 deletions

View File

@ -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'))