aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-31 00:29:17 +0200
committerKarel Kočí <cynerd@email.cz>2016-03-31 00:29:17 +0200
commit2a8ad733fb5dc2e763256207332e42c90a3d6a6d (patch)
tree662f4ada3b65780660a43a868e7ae97181da0792 /setup.py
parent7c635fe498b2c7d158a44ceaa525fe7317adb079 (diff)
downloadmcserver-wrapper-2a8ad733fb5dc2e763256207332e42c90a3d6a6d.tar.gz
mcserver-wrapper-2a8ad733fb5dc2e763256207332e42c90a3d6a6d.tar.bz2
mcserver-wrapper-2a8ad733fb5dc2e763256207332e42c90a3d6a6d.zip
Setting up Python package
Adding support for installing using pip. This will be default way to install mcwrapper.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..d2a6baa
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,35 @@
+#!/usr/bin/env python3
+from setuptools import setup, find_packages
+from os import path
+
+here = path.abspath(path.dirname(__file__))
+with open(path.join(here, 'README.md'), encoding='utf-8') as f:
+ long_description = f.read()
+
+
+setup(
+ name='mcserver-wrapper',
+ version='0.3.0',
+ description="Minecraft server wrapper",
+ long_description=long_description,
+ url="https://github.com/Cynerd/mcserver-wrapper",
+ author="Cynerd",
+ author_email="cynerd@email.cz",
+ license="GPLv2",
+
+ clasifiers=[
+ 'Development Status :: 3 - Alpha',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
+ ],
+ keywords='Minecraft wrapper server',
+
+ packages=['mcwrapper'],
+ entry_points={
+ 'console_scripts': [
+ 'mcwrapper=mcwrapper:main'
+ ]
+ }
+ )