-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
executable file
·72 lines (59 loc) · 2.14 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf-8 -*-
"""setup -- setuptools setup file for cocos2d.
Supports the usual 'setup.py install' for cocos.
As a release builder:
last used: release 0.6.0, built from py2.6 + setuptools 3.3
example operation for generating release without handling the docs:
svn checkout http://los-cocos.googlecode.com/svn/trunk/ cocos_trunk
cd cocos_trunk
svn export . ../cocos_export
cd ..\cocos_export
py -2.6 setup.py sdist >../sdist.log
[ the generated package will be in cocos_export/dist ]
Look at tools/building_release_notes.txt for more info about building
release.
"""
__author__ = "cocos2d team"
__version__ = "0.6.0"
__date__ = "2014 03 24"
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
f = open('README','rU')
long_description = f.read()
f.close()
setup(
name = "cocos2d",
version = __version__,
author = "cocos2d Team",
license="BSD",
description = "a 2D framework for games and multimedia",
long_description=long_description,
url = "http://cocos2d.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
("Topic :: Software Development :: Libraries :: Python Modules"),
("Topic :: Games/Entertainment"),
],
packages = ['cocos'],
package_data={'cocos': ['resources/*.*']},
install_requires=['six', 'pyglet>=1.2alpha1',],
dependency_links=['hg+https://code.google.com/p/pyglet@c7f948a848cb#egg=pyglet-1.2alpha1',],
include_package_data = True,
zip_safe = False,
)