forked from pythonarcade/arcade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
93 lines (86 loc) · 4.08 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
from os import path
import sys
from setuptools import setup
VERSION = 'default'
def execfile(filepath, globals=None, locals=None):
if globals is None:
globals = {}
globals.update({
"__file__": filepath,
"__name__": "__main__",
})
with open(filepath, 'rb') as file:
exec(compile(file.read(), filepath, 'exec'), globals, locals)
# execute the file
execfile("arcadeplus/version.py", locals=locals())
RELEASE = VERSION
if __name__ == "__main__":
install_requires = [
'pyglet',
'pillow',
'numpy',
'pyglet-ffmpeg2',
'pytiled-parser'
]
if sys.version_info[0] == 3 and sys.version_info[1] == 6:
install_requires.append('dataclasses')
fname = path.join(path.dirname(path.abspath(__file__)), "README.rst")
with open(fname, "r") as f:
long_desc = f.read()
setup(
name="arcadeplus",
version=RELEASE,
description="ArcadePlus Graphics Library",
long_description=long_desc,
author="George Shao",
author_email="[email protected]",
license="gpl-3.0",
url="https://github.com/GeorgeShao/arcadeplus",
download_url="https://github.com/GeorgeShao/arcadeplus/archive/1.0.4.tar.gz",
install_requires=install_requires,
packages=["arcadeplus",
"arcadeplus.key",
"arcadeplus.color",
"arcadeplus.csscolor",
"arcadeplus.examples"
],
python_requires='>=3.6',
classifiers=[
"Development Status :: 5 - Production/Stable", # Choose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable"
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
],
test_suite="tests",
package_data={'arcadeplus': ['resources/gui_themes/Fantasy/Buttons/*',
'resources/gui_themes/Fantasy/DialogueBox/*',
'resources/gui_themes/Fantasy/Menu/*',
'resources/gui_themes/Fantasy/TextBox/*',
'resources/gui_themes/Fantasy/Window/*',
'resources/images/*',
'resources/images/alien/*',
'resources/images/animated_characters/female_adventurer/*',
'resources/images/animated_characters/female_person/*',
'resources/images/animated_characters/male_adventurer/*',
'resources/images/animated_characters/male_person/*',
'resources/images/animated_characters/robot/*',
'resources/images/animated_characters/zombie/*',
'resources/images/backgrounds/*',
'resources/images/enemies/*',
'resources/images/isometric_dungeon/*',
'resources/images/items/*',
'resources/images/pinball/*',
'resources/images/space_shooter/*',
'resources/images/spritesheets/*',
'resources/images/texture_transform/*',
'resources/images/tiles/*',
'resources/sounds/*',
'resources/tmx_maps/*',
'py.typed']},
)