Mercurial > pyntnclick
comparison setup.py @ 854:3577c51029f1 default tip
Remove Suspended Sentence. pyntnclick is the library we extracted from it
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 21 Jun 2014 22:15:54 +0200 |
parents | b616eeab0b82 |
children |
comparison
equal
deleted
inserted
replaced
853:f95830b58336 | 854:3577c51029f1 |
---|---|
1 # setup.py | 1 # setup.py |
2 # -*- coding: utf8 -*- | 2 # -*- coding: utf8 -*- |
3 # vim:fileencoding=utf8 ai ts=4 sts=4 et sw=4 | 3 # vim:fileencoding=utf8 ai ts=4 sts=4 et sw=4 |
4 | 4 |
5 """Setuptools setup.py file for Suspended Sentence.""" | 5 """Setuptools setup.py file for pyntnclick.""" |
6 | 6 |
7 from setuptools import setup, find_packages | 7 from setuptools import setup, find_packages |
8 from gamelib import version | 8 from pyntnclick import version |
9 | 9 |
10 try: | 10 try: |
11 import py2exe | 11 import py2exe |
12 except ImportError: | 12 except ImportError: |
13 pass | 13 pass |
34 platforms=version.PLATFORMS, | 34 platforms=version.PLATFORMS, |
35 | 35 |
36 # Dependencies | 36 # Dependencies |
37 install_requires=version.INSTALL_REQUIRES, | 37 install_requires=version.INSTALL_REQUIRES, |
38 | 38 |
39 # Files | |
40 packages=find_packages(), | 39 packages=find_packages(), |
41 scripts=['run_game.py'], | |
42 | 40 |
43 # py2exe | |
44 console=['scripts/testconsole.py'], | |
45 windows=[{ | |
46 'script': 'scripts/suspended.py', | |
47 'icon_resources': [(0, "data/icons/suspended_sentence.ico")], | |
48 }], | |
49 app=['run_game.py'], | |
50 options={ | |
51 'py2exe': { | |
52 'skip_archive': 1, | |
53 'dist_dir': 'dist/suspended-sentence-%s' % version.VERSION_STR, | |
54 'packages': [ | |
55 'logging', 'encodings', 'gamelib', | |
56 ], | |
57 'includes': [ | |
58 # pygame | |
59 'pygame', | |
60 ], | |
61 'excludes': [ | |
62 'numpy', | |
63 ], | |
64 'ignores': [ | |
65 # all database modules | |
66 'pgdb', 'Sybase', 'adodbapi', | |
67 'kinterbasdb', 'psycopg', 'psycopg2', 'pymssql', | |
68 'sapdb', 'pysqlite2', 'sqlite', 'sqlite3', | |
69 'MySQLdb', 'MySQLdb.connections', | |
70 'MySQLdb.constants.CR', 'MySQLdb.constants.ER', | |
71 # old datetime equivalents | |
72 'DateTime', 'DateTime.ISO', | |
73 'mx', 'mx.DateTime', 'mx.DateTime.ISO', | |
74 # email modules | |
75 'email.Generator', 'email.Iterators', 'email.Utils', | |
76 ], | |
77 }, | |
78 'py2app': { | |
79 'argv_emulation': 1, | |
80 'iconfile': 'data/icons/suspended_sentence.icns', | |
81 # 'dist_dir': 'dist/suspended-sentence-%s' % version.VERSION_STR, | |
82 # 'bdist_base': 'build/bdist', | |
83 'packages': [ | |
84 'logging', 'encodings', 'pygame', 'gamelib', | |
85 'data', | |
86 ], | |
87 'excludes': ['numpy'], | |
88 }}, | |
89 data_files=[ | 41 data_files=[ |
90 # 'COPYRIGHT', | |
91 'COPYING', | 42 'COPYING', |
92 'README.txt', | 43 #'README.txt', |
93 ], | 44 ], |
94 ) | 45 ) |