Fix: 1.16.5 is erroneously marked as unsupported
[pyCraft.git] / setup.py
blob700a8fd6b91be8d32e99f47bd5d4ff884c64b3ff
1 from setuptools import setup
2 from minecraft import __version__
5 def read(filename):
6 """
7 Puts a file into a string.
8 """
9 with open(filename, "r") as f:
10 return f.read()
13 MAIN_AUTHORS = ["Ammar Askar <ammar@ammaraskar.com>",
14 "Jeppe Klitgaard <jeppe@dapj.dk>"]
16 URL = "https://github.com/ammaraskar/pyCraft"
18 setup(name="pyCraft",
19 version=__version__,
20 description="Python MineCraft library",
21 long_description=read("README.rst"),
22 url=URL,
23 download_url=URL + "/tarball/" + __version__,
24 author=", ".join(MAIN_AUTHORS),
25 install_requires=["cryptography>=1.5",
26 "requests",
27 "pynbt",
29 packages=["minecraft",
30 "minecraft.networking",
31 "minecraft.networking.packets",
32 "minecraft.networking.packets.clientbound",
33 "minecraft.networking.packets.clientbound.status",
34 "minecraft.networking.packets.clientbound.handshake",
35 "minecraft.networking.packets.clientbound.login",
36 "minecraft.networking.packets.clientbound.play",
37 "minecraft.networking.packets.serverbound",
38 "minecraft.networking.packets.serverbound.status",
39 "minecraft.networking.packets.serverbound.handshake",
40 "minecraft.networking.packets.serverbound.login",
41 "minecraft.networking.packets.serverbound.play",
42 "minecraft.networking.types",
44 keywords=["MineCraft", "networking", "pyCraft", "minecraftdev", "mc"],
45 classifiers=["Development Status :: 3 - Alpha",
46 "Intended Audience :: Developers",
47 "License :: OSI Approved :: Apache Software License",
48 "Natural Language :: English",
49 "Operating System :: OS Independent",
50 "Programming Language :: Python",
51 "Programming Language :: Python :: 2",
52 "Programming Language :: Python :: 2.7",
53 "Programming Language :: Python :: 3",
54 "Programming Language :: Python :: 3.3",
55 "Programming Language :: Python :: 3.4",
56 "Programming Language :: Python :: 3.5",
57 "Programming Language :: Python :: 3.6",
58 "Topic :: Games/Entertainment",
59 "Topic :: Software Development :: Libraries",
60 "Topic :: Utilities"