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