"""
A distutils script to make a standalone .exe of superdoodle for
Windows platforms. You can get py2exe from
http://py2exe.sourceforge.net/. Use this command to build the .exe
and collect the other needed files:
python setup.py py2exe
A distutils script to make a standalone .app of superdoodle for
Mac OS X. You can get py2app from http://undefined.org/python/py2app.
Use this command to build the .app and collect the other needed files:
python setup.py py2app
"""
from setuptools import setup
import sys
if sys.platform == 'darwin':
buildstyle = 'app'
elif sys.platform == 'win32':
import py2exe
# buildstyle = 'console'
buildstyle = 'windows'
setup(
name="superdoodle",
setup_requires=["py2app"],
**{buildstyle : ['superdoodle.py']}
)
|