forked from serverstf/python-valve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (63 loc) · 1.93 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# -*- coding: utf-8 -*-
import os.path
import sys
import textwrap
import setuptools
def readme():
"""Load README contents."""
path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(path) as readme:
return readme.read()
def install_requires():
"""Determine installation requirements."""
requirements = [
"docopt>=0.6.2",
"monotonic",
"requests>=2.0",
"six>=1.6",
]
if sys.version_info[0] == 2:
requirements.append("enum34>=1.1")
return requirements
setuptools.setup(
name="python-valve",
version="0.2.1",
description=("Python implementation for Source servers, RCON, A2S, "
"VDF, the Steam Web API and various other Valve products "
"and services."),
long_description=readme(),
author="Oliver Ainsworth",
author_email="ottajay@googlemail.com",
url="https://github.com/serverstf/python-valve",
packages=setuptools.find_packages(exclude=["tests"]),
install_requires=install_requires(),
extras_require={
"development": [
"pylint",
],
"test": [
"mock==1.0.1",
"pytest>=3.6.0",
"pytest-cov",
"pytest-timeout",
],
"docs": [
"sphinx",
"sphinx_rtd_theme",
],
},
license="MIT License",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Games/Entertainment",
],
)