Skip to content

Commit 943485b

Browse files
committed
removed unused oath2 which should make pip install work under python3 ; fixes #50
1 parent 2b4bd8d commit 943485b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ from twarc import Twarc
7373

7474
t = Twarc()
7575
for tweet in t.search("ferguson"):
76-
print tweet["text"]
76+
print(tweet["text"])
7777
```
7878

7979
You can do the same for a stream of new tweets:
@@ -83,7 +83,7 @@ from twarc import Twarc
8383

8484
t = Twarc()
8585
for tweet in t.stream("ferguson"):
86-
print tweet["text"]
86+
print(tweet["text"])
8787
```
8888

8989
Similarly you can hydrate tweet identifiers by passing in a list of ids or
@@ -94,7 +94,7 @@ from twarc import Twarc
9494

9595
t = Twarc()
9696
for tweet in t.hydrate(open('ids.txt')):
97-
print tweet["text"]
97+
print(tweet["text"])
9898
```
9999

100100
## Utilities

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ def run(self):
1919

2020
setup(
2121
name='twarc',
22-
version='0.2.0',
22+
version='0.2.1',
2323
url='http://github.com/edsu/twarc',
2424
author='Ed Summers',
2525
author_email='[email protected]',
2626
py_modules=['twarc', ],
2727
scripts=['twarc.py'],
2828
description='command line utility to archive Twitter search results as line-oriented-json',
2929
cmdclass={'test': PyTest},
30-
install_requires=['oauth2', 'python-dateutil', 'requests_oauthlib'],
30+
install_requires=['python-dateutil', 'requests_oauthlib'],
3131
tests_require=['pytest']
3232
)

0 commit comments

Comments
 (0)