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