from setuptools import setup, find_packages
+try:
+ import py2exe
+ py2exe # To make pyflakes happy.
+except ImportError:
+ pass
+
+
setup(
name="tabakrolletjie",
version="0.0.1",
'Programming Language :: Python :: 2.7',
'Topic :: Games/Entertainment',
],
+ options={
+ 'py2exe': {
+ 'skip_archive': 1,
+ 'dist_dir': 'dist/tabakrolletjie-1.0.0',
+ 'packages': [
+ 'logging', 'encodings', 'tabakrolletjie',
+ ],
+ 'includes': [
+ 'pygame', 'pymunk',
+ ],
+ 'excludes': [
+ 'numpy',
+ ],
+ 'ignores': [
+ # all database modules
+ 'pgdb', 'Sybase', 'adodbapi',
+ 'kinterbasdb', 'psycopg', 'psycopg2', 'pymssql',
+ 'sapdb', 'pysqlite2', 'sqlite', 'sqlite3',
+ 'MySQLdb', 'MySQLdb.connections',
+ 'MySQLdb.constants.CR', 'MySQLdb.constants.ER',
+ # old datetime equivalents
+ 'DateTime', 'DateTime.ISO',
+ 'mx', 'mx.DateTime', 'mx.DateTime.ISO',
+ # email modules
+ 'email.Generator', 'email.Iterators', 'email.Utils',
+ ],
+ },
+ }
)