mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-18 13:09:02 +00:00
18 lines
315 B
Python
18 lines
315 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
import os
|
||
|
import os.path as op
|
||
|
import shutil
|
||
|
|
||
|
from hsutil.build import print_and_do
|
||
|
|
||
|
os.chdir('dupeguru')
|
||
|
print_and_do('python gen.py')
|
||
|
os.chdir('..')
|
||
|
|
||
|
if op.exists('build'):
|
||
|
shutil.rmtree('build')
|
||
|
if op.exists('dist'):
|
||
|
shutil.rmtree('dist')
|
||
|
|
||
|
print_and_do('python -u setup.py py2app')
|