-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
58 lines (51 loc) · 1.78 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# $Id$
import os
import sys
import shutil
from distutils.core import setup, Extension
srcdir = os.path.dirname(__file__)
def read(fname):
return open(os.path.join(srcdir, fname)).read()
# Copy the blasteroids example scripts to the tutorial dir
# Ideally they would just live there, but inflexibility in
# distutils wrt packaging data makes this necessary
for i in range(1, 4):
shutil.copyfile(
os.path.join(srcdir, 'examples', 'blasteroids%s.py' % i),
os.path.join(srcdir, 'doc', 'tutorial', 'blasteroids%s.py' % i))
setup(
name='grease',
version='0.3', # *** REMEMBER TO UPDATE __init__.py ***
description='Grease: The highly extensible game engine framework for Python',
long_description=read('README.txt'),
author='Casey Duncan',
author_email='casey.duncan@gmail.com',
# url='',
license='MIT',
classifiers = [
'Development Status :: 3 - Alpha',
'Topic :: Multimedia :: Graphics',
'Topic :: Games/Entertainment',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.6',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
],
package_dir={'grease': 'grease',
'grease.controller': 'grease/controller',
'grease.component': 'grease/component',
'grease.renderer': 'grease/renderer',
'grease.test': 'test',
'grease.examples': 'examples'},
package_data={'grease.examples': ['font/*', 'sfx/*']},
packages=['grease',
'grease.controller',
'grease.component',
'grease.renderer',
'grease.test',
'grease.examples'],
)