Skip to content

Commit

Permalink
Remove unused imports and asyncoro dependency
Browse files Browse the repository at this point in the history
re and uuid imports are unused in setup.py, and asyncoro is never
imported in the API.

Also added pyflakes in .travis.yml to check if the problems in setup.py
are fixed.
  • Loading branch information
laymonage committed Sep 12, 2016
1 parent 49fb195 commit c42c422
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ python:
- "3.5"
install:
- pip install -r requirements.txt
- pip install pyflakes
- pip install python-coveralls
- pip install coverage
- pip install nose
script:
- python setup.py install
- pyflakes setup.py
- nosetests --with-coverage tests
after_success:
- coveralls
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
asyncoro==3.5
requests==2.8.1
xmljson==0.1.6

4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import re
import uuid

try:
from setuptools import setup
except ImportError:
Expand All @@ -25,7 +22,6 @@
],
keywords="Twitter Loklak Anonymous API",
install_requires=[
"asyncoro==3.5",
"requests==2.8.1",
"xmljson==0.1.6"
],
Expand Down

0 comments on commit c42c422

Please sign in to comment.