forked from s444417/ProjektAI
29 lines
578 B
Python
29 lines
578 B
Python
|
"""
|
||
|
Script for building the example.
|
||
|
|
||
|
Usage:
|
||
|
python setup.py py2app
|
||
|
"""
|
||
|
from distutils.core import setup
|
||
|
import py2app
|
||
|
|
||
|
NAME = 'aliens'
|
||
|
VERSION = '0.1'
|
||
|
|
||
|
plist = dict(
|
||
|
CFBundleIconFile=NAME,
|
||
|
CFBundleName=NAME,
|
||
|
CFBundleShortVersionString=VERSION,
|
||
|
CFBundleGetInfoString=' '.join([NAME, VERSION]),
|
||
|
CFBundleExecutable=NAME,
|
||
|
CFBundleIdentifier='org.pygame.examples.aliens',
|
||
|
)
|
||
|
|
||
|
setup(
|
||
|
data_files=['English.lproj', '../../data'],
|
||
|
app=[
|
||
|
#dict(script="aliens_bootstrap.py", plist=plist),
|
||
|
dict(script="aliens.py", plist=plist),
|
||
|
],
|
||
|
)
|