aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: ce6d681282660b964663ea3cf320703764ae0a72 (plain)
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
#!/usr/bin/env python3
import os
from setuptools import setup

readme_file = os.path.join(os.path.abspath(os.path.dirname(__file__)),
                           'README.md')
long_description = ""
try:
    import pypandoc
    long_description = pypandoc.convert(readme_file, 'rst', format='md')
except (IOError, ImportError):
    print("Pandoc not found. Long_description conversion failure.")
except RuntimeError as e:
    print("Pandoc conversion failed: " + str(e))

setup(
    name='mcserver-wrapper',
    version='0.4.1',
    description="Minecraft server wrapper",
    long_description=long_description,
    url="https://github.com/Cynerd/mcserver-wrapper",
    author="Cynerd",
    author_email="cynerd@email.cz",
    license="GPLv2",

    classifiers=[
        'Development Status :: 3 - Alpha',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        ],
    keywords='Minecraft wrapper server',

    packages=['mcwrapper'],
    entry_points={
        'console_scripts': [
            'mcwrapper=mcwrapper:main'
            ]
        }
    )