-
Notifications
You must be signed in to change notification settings - Fork 183
/
setup.py
62 lines (56 loc) · 2.53 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
from setuptools import setup
from minecraft import __version__
def read(filename):
"""
Puts a file into a string.
"""
with open(filename, "r") as f:
return f.read()
MAIN_AUTHORS = ["Ammar Askar <ammar@ammaraskar.com>",
"Jeppe Klitgaard <jeppe@dapj.dk>"]
URL = "https://github.com/ammaraskar/pyCraft"
setup(name="pyCraft",
version=__version__,
description="Python MineCraft library",
long_description=read("README.rst"),
url=URL,
download_url=URL + "/tarball/" + __version__,
author=", ".join(MAIN_AUTHORS),
install_requires=["cryptography>=1.5",
"requests",
"pynbt",
],
packages=["minecraft",
"minecraft.networking",
"minecraft.networking.packets",
"minecraft.networking.packets.clientbound",
"minecraft.networking.packets.clientbound.status",
"minecraft.networking.packets.clientbound.handshake",
"minecraft.networking.packets.clientbound.login",
"minecraft.networking.packets.clientbound.play",
"minecraft.networking.packets.serverbound",
"minecraft.networking.packets.serverbound.status",
"minecraft.networking.packets.serverbound.handshake",
"minecraft.networking.packets.serverbound.login",
"minecraft.networking.packets.serverbound.play",
"minecraft.networking.types",
],
keywords=["MineCraft", "networking", "pyCraft", "minecraftdev", "mc"],
classifiers=["Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Games/Entertainment",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities"
]
)