2 # This is used by the Makefile to name the final app.tar.bz2 file
8 sys
.path
.insert(0, os
.getcwd())
10 if not hasattr(platform
, 'mac_ver'):
11 print 'This only runs on os x'
15 macstuff
= platform
.mac_ver()
16 cpu
= platform
.processor()
17 proc
= {'i386': 'intel'}.get(cpu
, cpu
)
21 if version
[:4] == '10.6':
23 elif version
[:4] == '10.5':
25 elif version
[:4] == '10.4':
27 elif version
[:4] == '10.3':
32 # git-cola-intel-leopard.app.tar.bz2
33 print('git-cola-%s-%s.app.tar.bz2' % (proc
, name
))