mirror of
https://github.com/Dinnerbone/mcstatus.git
synced 2026-04-05 19:41:24 +08:00
37 lines
1.0 KiB
Python
37 lines
1.0 KiB
Python
from distutils.core import setup
|
|
from six import PY2
|
|
|
|
install_requires = [
|
|
'six'
|
|
]
|
|
|
|
if PY2:
|
|
install_requires.append('dnspython')
|
|
else:
|
|
install_requires.append('dnspython3')
|
|
|
|
tests_require = [
|
|
'mock'
|
|
]
|
|
|
|
setup(
|
|
name='mcstatus',
|
|
version='2.0dev',
|
|
author='Nathan Adams',
|
|
author_email='dinnerbone@dinnerbone.com',
|
|
url='https://pypi.python.org/pypi/mcstatus',
|
|
packages=['mcstatus', 'mcstatus.protocol'],
|
|
description='A library to query Minecraft Servers for their status and capabilities.',
|
|
install_requires=install_requires,
|
|
tests_require=tests_require,
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Operating System :: OS Independent',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
],
|
|
) |