source: setup.py

tip
Last change on this file was 631:672e6e7ecfe9, checked in by Neil Muller <drnlmuller@…>, 21 months ago

Update url

  • Property exe set to *
File size: 4.0 KB
Line 
1# setup.py
2# -*- coding: utf8 -*-
3# vim:fileencoding=utf8 ai ts=4 sts=4 et sw=4
4
5"""Setuptools setup.py file for Skaapsteker."""
6
7from setuptools import setup, find_packages
8
9try:
10 import py2exe
11except ImportError:
12 pass
13
14VERSION_STR = "0.2"
15
16setup ( # Metadata
17 name = "nine-tales",
18 version = VERSION_STR,
19 description = "Nine Tales of the Kitsune: Platformer for PyWeek 12",
20
21 author = ("Adrianna Pinska, Anna Malczyk, Jeremy Thurgood, "
22 "Neil Muller, Oliver Hambsch, Simon Cross, Stefano Rivera"),
23 author_email = "",
24
25 maintainer = "Skaapsteker Team",
26 maintainer_email = "ctpug@googlegroups.com",
27
28 url = "http://hg.ctpug.org.za/trac/skaapsteker/",
29 download_url = "https://hg.ctpug.org.za/skaapsteker/",
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/skaapsteker'
63 ],
64
65 # py2exe
66 console = ['scripts/testconsole.py'],
67 windows = [{
68 'script': 'scripts/skaapsteker',
69 'icon_resources': [(0, "data/icons/program/icon.ico")],
70 }],
71 app = ['scripts/skaapsteker'],
72 options = {
73 'py2exe': {
74 'skip_archive': 1,
75 'dist_dir': 'dist/nine-tales-%s' % VERSION_STR,
76 'packages': [
77 'logging', 'encodings', 'skaapsteker',
78 ],
79 'includes': [
80 # pygame
81 'pygame',
82 ],
83 'excludes': [
84 'numpy',
85 ],
86 'ignores': [
87 # all database modules
88 'pgdb', 'Sybase', 'adodbapi',
89 'kinterbasdb', 'psycopg', 'psycopg2', 'pymssql',
90 'sapdb', 'pysqlite2', 'sqlite', 'sqlite3',
91 'MySQLdb', 'MySQLdb.connections',
92 'MySQLdb.constants.CR', 'MySQLdb.constants.ER',
93 # old datetime equivalents
94 'DateTime', 'DateTime.ISO',
95 'mx', 'mx.DateTime', 'mx.DateTime.ISO',
96 # email modules
97 'email.Generator', 'email.Iterators', 'email.Utils',
98 ],
99 },
100 'py2app': {
101 'app': ['run_game.py'],
102 'argv_emulation': True,
103 'iconfile': 'data/icons/program/icon.icns',
104# 'dist_dir': 'dist/nine-tales-%s' % VERSION_STR,
105# 'bdist_base': 'build/bdist',
106 'packages': [
107 'logging', 'encodings', 'pygame', 'skaapsteker', 'data',
108 ],
109 'excludes': ['numpy'],
110 }},
111 data_files = [
112 # 'COPYRIGHT',
113 'LICENSE.txt',
114 'README.txt',
115 ],
116 include_package_data = True
117 )
Note: See TracBrowser for help on using the repository browser.