|
@ -3,7 +3,7 @@ |
|
|
from setuptools import setup |
|
|
from setuptools import setup |
|
|
from codecs import open |
|
|
from codecs import open |
|
|
from os import path |
|
|
from os import path |
|
|
|
|
|
import sys |
|
|
|
|
|
|
|
|
here = path.abspath(path.dirname(__file__)) |
|
|
here = path.abspath(path.dirname(__file__)) |
|
|
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: |
|
|
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: |
|
@ -11,6 +11,14 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: |
|
|
with open(path.join(here, 'steam/__init__.py'), encoding='utf-8') as f: |
|
|
with open(path.join(here, 'steam/__init__.py'), encoding='utf-8') as f: |
|
|
__version__ = f.readline().split('"')[1] |
|
|
__version__ = f.readline().split('"')[1] |
|
|
|
|
|
|
|
|
|
|
|
install_requires = [ |
|
|
|
|
|
'requests', |
|
|
|
|
|
'vdf', |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
if sys.version_info < (3, 4): |
|
|
|
|
|
install_requires.append('enum34>=1.0.4') |
|
|
|
|
|
|
|
|
setup( |
|
|
setup( |
|
|
name='steam', |
|
|
name='steam', |
|
|
version=__version__, |
|
|
version=__version__, |
|
@ -30,10 +38,6 @@ setup( |
|
|
], |
|
|
], |
|
|
keywords='valve steam steamid api webapi', |
|
|
keywords='valve steam steamid api webapi', |
|
|
packages=['steam'], |
|
|
packages=['steam'], |
|
|
install_requires=[ |
|
|
install_requires=install_requires, |
|
|
'enum34', |
|
|
|
|
|
'requests', |
|
|
|
|
|
'vdf', |
|
|
|
|
|
], |
|
|
|
|
|
zip_safe=True, |
|
|
zip_safe=True, |
|
|
) |
|
|
) |
|
|