2009-06-06 12:11:11 +00:00
|
|
|
#!/usr/bin/env python
|
2009-08-05 08:59:46 +00:00
|
|
|
# Copyright 2009 Hardcoded Software (http://www.hardcoded.net)
|
|
|
|
#
|
|
|
|
# This software is licensed under the "HS" License as described in the "LICENSE" file,
|
|
|
|
# which should be included with this package. The terms are also available at
|
|
|
|
# http://www.hardcoded.net/licenses/hs_license
|
2009-06-06 12:11:11 +00:00
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path as op
|
|
|
|
import shutil
|
|
|
|
|
|
|
|
from hsutil.build import print_and_do
|
|
|
|
|
2009-06-18 19:43:16 +00:00
|
|
|
os.chdir('dupeguru_pe')
|
2009-06-06 12:11:11 +00:00
|
|
|
print_and_do('python gen.py')
|
|
|
|
os.chdir('..')
|
|
|
|
|
|
|
|
if op.exists('build'):
|
|
|
|
shutil.rmtree('build')
|
|
|
|
if op.exists('dist'):
|
|
|
|
shutil.rmtree('dist')
|
|
|
|
|
2009-12-15 12:52:21 +00:00
|
|
|
print_and_do('python -u setup.py py2app -A')
|