2020-08-17 18:22:12 +02:00
|
|
|
from setuptools import setup
|
2015-04-01 17:38:14 +02:00
|
|
|
from minecraft import __version__
|
|
|
|
|
2015-04-01 18:56:55 +02:00
|
|
|
|
|
|
|
def read(filename):
|
|
|
|
"""
|
|
|
|
Puts a file into a string.
|
|
|
|
"""
|
|
|
|
with open(filename, "r") as f:
|
|
|
|
return f.read()
|
|
|
|
|
2016-11-15 01:02:02 +01:00
|
|
|
|
2015-04-01 17:38:14 +02:00
|
|
|
MAIN_AUTHORS = ["Ammar Askar <ammar@ammaraskar.com>",
|
|
|
|
"Jeppe Klitgaard <jeppe@dapj.dk>"]
|
|
|
|
|
2015-04-01 18:56:55 +02:00
|
|
|
URL = "https://github.com/ammaraskar/pyCraft"
|
|
|
|
|
2020-08-17 18:32:16 +02:00
|
|
|
setup(name="pyCraft",
|
2015-04-01 17:38:14 +02:00
|
|
|
version=__version__,
|
|
|
|
description="Python MineCraft library",
|
2015-04-01 18:56:55 +02:00
|
|
|
long_description=read("README.rst"),
|
|
|
|
url=URL,
|
|
|
|
download_url=URL + "/tarball/" + __version__,
|
2015-04-01 17:38:14 +02:00
|
|
|
author=", ".join(MAIN_AUTHORS),
|
2020-02-17 20:13:31 +01:00
|
|
|
install_requires=["cryptography>=1.5",
|
|
|
|
"requests",
|
|
|
|
"future",
|
|
|
|
],
|
2018-01-13 02:02:47 +01:00
|
|
|
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",
|
2018-06-25 16:20:05 +02:00
|
|
|
"minecraft.networking.packets.serverbound.play",
|
|
|
|
"minecraft.networking.types",
|
|
|
|
],
|
2015-04-01 18:56:55 +02:00
|
|
|
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",
|
2018-01-13 02:02:47 +01:00
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
2015-04-01 18:56:55 +02:00
|
|
|
"Topic :: Games/Entertainment",
|
|
|
|
"Topic :: Software Development :: Libraries",
|
|
|
|
"Topic :: Utilities"
|
|
|
|
]
|
2015-04-01 17:38:14 +02:00
|
|
|
)
|