-
Notifications
You must be signed in to change notification settings - Fork 262
/
setup.py
28 lines (25 loc) · 843 Bytes
/
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
from distutils.core import setup
from TwitterAPI import __version__
import io
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
setup(
name='TwitterAPI',
version=__version__,
author='geduldig',
author_email='[email protected]',
packages=['TwitterAPI'],
package_data={'': ['credentials.txt']},
url='https://github.com/geduldig/TwitterAPI',
download_url='https://github.com/geduldig/TwitterAPI/tarball/master',
license='MIT',
keywords='twitter',
description='Minimal wrapper for Twitter\'s REST and Streaming APIs',
install_requires=['requests', 'requests_oauthlib']
)