-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 1.56 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
# SPDX-License-Identifier: MIT
# Importing the required modules.
import codecs
import os
from setuptools import find_packages, setup
# Defiining the setup parameters.
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
with codecs.open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
lines = (x.strip() for x in f.read().splitlines())
requirements = [x for x in lines if x and not x.startswith('#')]
# Setup.
setup(
name='api.mcsrvstat.py',
version='2023.12.16',
author='HitBlast',
author_email='<[email protected]>',
url='https://github.com/hitblast/api.mcsrvstat.py',
description='An asynchronous Python wrapper for the Minecraft Server Status API.',
long_description_content_type='text/markdown',
long_description=long_description,
packages=find_packages(),
install_requires=requirements,
python_requires='>=3.8',
keywords=['python', 'minecraft', 'mcsrvstat'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)