-
Notifications
You must be signed in to change notification settings - Fork 148
/
setup.py
64 lines (59 loc) · 2.19 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()\
.replace('.io/en/latest/', '.io/en/stable/')\
.replace('?badge=latest', '?badge=stable')\
.replace('projects/steam/badge/?version=latest', 'projects/steam/badge/?version=stable')
with open(path.join(here, 'steam/__init__.py'), encoding='utf-8') as f:
__version__ = f.readline().split('"')[1]
install_requires = [
'six>=1.10',
'pycryptodomex>=3.7.0',
'requests>=2.9.1',
'urllib3<2',
'vdf>=3.3',
'cachetools>=3.0.0',
"win-inet-pton; python_version == '2.7' and sys_platform == 'win32'",
"enum34==1.1.2; python_version < '3.4'",
]
install_extras = {
'client': [
'gevent>=1.3.0',
'protobuf~=3.0; python_version >= "3"',
'protobuf<3.18.0; python_version < "3"',
'gevent-eventemitter~=2.1',
],
}
setup(
name='steam',
version=__version__,
description='Module for interacting with various Steam features',
long_description=long_description,
url='https://github.com/ValvePython/steam',
author="Rossen Georgiev",
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Natural Language :: English',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='valve steam steamid api webapi steamcommunity',
packages=['steam'] + ['steam.'+x for x in find_packages(where='steam')],
install_requires=install_requires,
extras_require=install_extras,
zip_safe=True,
)