"""
Script for building the example.
Usage:
python setup.py py2app
"""
try:
import OpenGL.GL
except ImportError:
raise SystemExit("This example requires pyOpenGL, which is not installed")
from distutils.core import setup
import py2app
plist = dict(NSMainNibFile='OpenGLDemo')
setup(
name="OpenGLDemo",
app=['OpenGLDemo.py'],
data_files=["OpenGLDemo.nib"],
options=dict(py2app=dict(plist=plist)),
)
|