forked from pythonarcade/arcade
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (59 loc) · 2.35 KB
/
setup.py
File metadata and controls
65 lines (59 loc) · 2.35 KB
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
#!/usr/bin/env python
from os import path
import sys
from setuptools import setup
BUILD = 0
VERSION = "2.0.9"
RELEASE = VERSION
if __name__ == "__main__":
if "--format=msi" in sys.argv or "bdist_msi" in sys.argv:
# hack the version name to a format msi doesn't have trouble with
VERSION = VERSION.replace("-alpha", "a")
VERSION = VERSION.replace("-beta", "b")
VERSION = VERSION.replace("-rc", "r")
fname = path.join(path.dirname(path.abspath(__file__)), "README.rst")
with open(fname, "r") as f:
long_desc = f.read()
setup(
name="arcade",
version=RELEASE,
description="Arcade Game Development Library",
long_description=long_desc,
author="Paul Vincent Craven",
author_email="paul.craven@simpson.edu",
license="MIT",
url="http://arcade.academy",
download_url="http://arcade.academy",
install_requires=[
'pyglet==1.4.0b1',
'pillow',
'numpy',
'pyglet-ffmpeg2'
],
packages=["arcade",
"arcade.key",
"arcade.color",
"arcade.csscolor",
"arcade.examples"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
],
test_suite="tests",
package_data={'arcade': ['examples/images/*.png',
'examples/images/character_sprites/*.png',
'examples/images/explosion/*.png',
'examples/images/isometric_dungeon/*.png',
'examples/images/*.jpg',
'examples/*.csv',
'examples/*.tmx',
'examples/sounds/*']},
)