forked from geduldig/TwitterCounter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 883 Bytes
/
Copy pathsetup.py
File metadata and controls
28 lines (26 loc) · 883 Bytes
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
import TwitterCounter
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='TwitterCounter',
version=TwitterCounter.__version__,
author='Jonas Geduldig',
author_email='boxnumber03@gmail.com',
packages=['TwitterCounter'],
package_data={'': []},
url='https://github.com/geduldig/TwitterCounter',
download_url = 'https://github.com/gedldig/TwitterCounter/tarball/master',
license='MIT',
keywords='twitter',
description='Command line scripts for counting tweets from twitter.com.',
long_description=read('README.txt'),
install_requires = ['TwitterAPI>=2.1']
)