diff --git a/.travis.yml b/.travis.yml index 6c9b7e5..1e2acf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ language: python python: - - 3.5 - 3.6 - 3.7 - 3.8 + - 3.9 install: - pip install --upgrade pip - pip install -r test-requirements.txt diff --git a/setup.py b/setup.py index 4ded567..2350aaa 100644 --- a/setup.py +++ b/setup.py @@ -1,48 +1,44 @@ from setuptools import setup # TODO: read requirements from file -install_requires = [ - 'click', 'dnspython3', 'six' -] +install_requires = ["click", "dnspython3", "six"] -tests_require = [ - 'mock', 'nose' -] +tests_require = ["mock", "nose"] setup( - name='mcstatus', - version='4.1.0', - author='Nathan Adams', - author_email='dinnerbone@dinnerbone.com', - url='https://pypi.python.org/pypi/mcstatus', - packages=['mcstatus', 'mcstatus.protocol', 'mcstatus.scripts'], - description='A library to query Minecraft Servers for their status and capabilities.', + name="mcstatus", + version="5.0.0", + author="Nathan Adams", + author_email="dinnerbone@dinnerbone.com", + url="https://pypi.python.org/pypi/mcstatus", + packages=["mcstatus", "mcstatus.protocol", "mcstatus.scripts"], + description="A library to query Minecraft Servers for their status and capabilities.", long_description=open("README.md", "r").read(), long_description_content_type="text/markdown", install_requires=install_requires, tests_require=tests_require, - python_requires=">=3.5", + python_requires=">=3.6", classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache Software License', - 'Natural Language :: English', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Topic :: Games/Entertainment', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: System :: Monitoring', + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Topic :: Games/Entertainment", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: System :: Monitoring", ], - entry_points=''' + entry_points=""" [console_scripts] mcstatus=mcstatus.scripts.mcstatus:cli - ''', + """, project_urls={ - 'Source': 'https://github.com/Dinnerbone/mcstatus', + "Source": "https://github.com/Dinnerbone/mcstatus", }, )