Mercurial > mamba
annotate setup.py @ 555:c014f5023cd2
Test run replays
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Thu, 22 Sep 2011 17:32:38 +0200 |
parents | 5da148acb36a |
children | 9afaa1969d6f |
rev | line source |
---|---|
429 | 1 # setup.py |
2 # -*- coding: utf8 -*- | |
3 # vim:fileencoding=utf8 ai ts=4 sts=4 et sw=4 | |
0 | 4 |
429 | 5 """Setuptools setup.py file for Mutable Mamba.""" |
0 | 6 |
429 | 7 from setuptools import setup, find_packages |
0 | 8 |
9 try: | |
430 | 10 import py2exe # pyflakes:ignore |
429 | 11 except ImportError: |
12 pass | |
0 | 13 |
429 | 14 VERSION_STR = "0.1" |
0 | 15 |
429 | 16 setup( # Metadata |
17 name="mutable-mamba", | |
18 version=VERSION_STR, | |
19 description="Mutable Mamba: Snake game for PyWeek 13", | |
0 | 20 |
463
6ce6787f3635
Add Desilu and Gideon to the places they're missing.
Simon Cross <hodgestar@gmail.com>
parents:
430
diff
changeset
|
21 author=("Adrianna Pinska, Desilu Crossman, Gideon Visser, " |
6ce6787f3635
Add Desilu and Gideon to the places they're missing.
Simon Cross <hodgestar@gmail.com>
parents:
430
diff
changeset
|
22 "Jeremy Thurgood, Neil Muller, Simon Cross, " |
6ce6787f3635
Add Desilu and Gideon to the places they're missing.
Simon Cross <hodgestar@gmail.com>
parents:
430
diff
changeset
|
23 "Stefano Rivera"), |
429 | 24 author_email="", |
0 | 25 |
429 | 26 maintainer="Mamba Team", |
27 maintainer_email="ctpug@googlegroups.com", | |
0 | 28 |
429 | 29 url="http://ctpug.org.za/", |
30 download_url="https://ctpug.org.za/hg/mamba/", | |
0 | 31 |
429 | 32 license="MIT", |
0 | 33 |
429 | 34 classifiers=[ |
35 'Development Status :: 4 - Beta', | |
36 'Environment :: MacOS X', | |
37 'Environment :: Win32 (MS Windows)', | |
38 'Environment :: X11 Applications', | |
39 'Intended Audience :: End Users/Desktop', | |
40 'License :: OSI Approved :: MIT License', | |
41 'Natural Language :: English', | |
42 'Operating System :: Microsoft :: Windows', | |
43 'Operating System :: POSIX', | |
44 'Operating System :: MacOS :: MacOS X', | |
45 'Programming Language :: Python :: 2.5', | |
46 'Programming Language :: Python :: 2.6', | |
47 'Topic :: Games/Entertainment :: Role-Playing', | |
48 'Topic :: Games/Entertainment :: Arcade', | |
49 ], | |
0 | 50 |
429 | 51 platforms=[ |
52 'Linux', | |
53 'Mac OS X', | |
54 'Windows', | |
55 ], | |
0 | 56 |
429 | 57 # Dependencies |
58 install_requires=[], | |
0 | 59 |
429 | 60 # Files |
61 packages=find_packages(), | |
62 scripts=[ | |
63 'scripts/mamba', | |
64 ], | |
0 | 65 |
429 | 66 # py2exe |
67 console=['scripts/testconsole.py'], | |
68 windows=[{ | |
69 'script': 'scripts/mamba', | |
70 'icon_resources': [(0, "data/icons/program/icon.ico")], | |
71 }], | |
72 app=['scripts/mamba'], | |
73 options={ | |
74 'py2exe': { | |
75 'skip_archive': 1, | |
76 'dist_dir': 'dist/mutable-mamba-%s' % VERSION_STR, | |
77 'packages': [ | |
78 'logging', 'encodings', 'mamba', | |
79 ], | |
80 'includes': [ | |
81 # pygame | |
82 'pygame', | |
83 ], | |
84 'excludes': [ | |
85 'numpy', | |
86 ], | |
87 'ignores': [ | |
88 # all database modules | |
89 'pgdb', 'Sybase', 'adodbapi', | |
90 'kinterbasdb', 'psycopg', 'psycopg2', 'pymssql', | |
91 'sapdb', 'pysqlite2', 'sqlite', 'sqlite3', | |
92 'MySQLdb', 'MySQLdb.connections', | |
93 'MySQLdb.constants.CR', 'MySQLdb.constants.ER', | |
94 # old datetime equivalents | |
95 'DateTime', 'DateTime.ISO', | |
96 'mx', 'mx.DateTime', 'mx.DateTime.ISO', | |
97 # email modules | |
98 'email.Generator', 'email.Iterators', 'email.Utils', | |
99 ], | |
100 }, | |
101 'py2app': { | |
102 'app': ['run_game.py'], | |
103 'argv_emulation': True, | |
104 'iconfile': 'data/icons/program/icon.icns', | |
105 'packages': [ | |
106 'logging', 'encodings', 'pygame', 'mamba', 'data', | |
107 ], | |
108 'excludes': ['numpy'], | |
109 }}, | |
110 data_files=[ | |
111 # 'COPYRIGHT', | |
112 'LICENSE.txt', | |
113 'README.txt', | |
114 ], | |
115 include_package_data=True, | |
116 ) |