-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (19 loc) · 701 Bytes
/
setup.py
File metadata and controls
22 lines (19 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import ast
import re
from distutils.core import setup
_version_re = re.compile(r'VERSION\s+=\s+(.*)')
with open('twitch/__init__.py', 'rb') as f:
VERSION = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='python-twitch',
description='Library for interaction with the videogame streaming platform twitch',
long_description=open('README.rst').read(),
version=VERSION,
packages=['twitch', 'twitch.api', 'twitch.api.v2', 'twitch.api.v3'],
install_requires=['six >= 1.9.0'],
license='GPLv3',
author='winlu',
author_email='derwinlu+python-twitch@gmail.com',
url='https://pypi.python.org/pypi/python-twitch',
)