forked from DocNow/twarc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (24 loc) · 829 Bytes
/
setup.py
File metadata and controls
29 lines (24 loc) · 829 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
29
import sys
from os.path import join
from setuptools import setup
# Also in twarc.py
__version__ = '0.7.0'
if sys.version_info[0] < 3:
dependencies = open(join('requirements', 'python2.txt')).read().split()
else:
dependencies = open(join('requirements', 'python3.txt')).read().split()
if __name__ == "__main__":
setup(
name='twarc',
version=__version__,
url='http://github.com/edsu/twarc',
author='Ed Summers',
author_email='ehs@pobox.com',
py_modules=['twarc', ],
scripts=['twarc.py', 'utils/twarc-archive.py'],
description='command line utility to archive Twitter search results '
'as line-oriented-json',
install_requires=dependencies,
setup_requires=['pytest-runner'],
tests_require=['pytest'],
)