Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit d185615

Browse files
committed
Simplified dependencies and removed outdated simplejson dependency since nobody is using those old versions of Python any more.
1 parent aadadee commit d185615

4 files changed

Lines changed: 14 additions & 26 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: python
22
python:
3-
- '2.7'
4-
- '3.3'
5-
- '3.4'
3+
- '2.7'
4+
- '3.3'
5+
- '3.4'
66
install:
7-
- pip install -r requirements.txt
7+
- pip install -r requirements.txt
88
script:
99
- pep8 documentcloud
1010
- pyflakes documentcloud

documentcloud/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import os
1616
import sys
1717
import six
18+
import json
1819
import copy
1920
import base64
2021
from .toolbox import retry
@@ -31,10 +32,6 @@
3132
import urllib.request
3233
else:
3334
from six.moves import urllib
34-
try:
35-
import json
36-
except ImportError:
37-
import simplejson as json
3835

3936

4037
#

requirements.txt

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
Jinja2==2.7.2
2-
MarkupSafe==0.19
3-
PyYAML==3.10
4-
Pygments==1.6
5-
Sphinx==1.2.2
1+
# Required for development
2+
Sphinx
63
argparse
7-
coverage==3.7.1
8-
docutils==0.11
9-
pep8==1.4.6
10-
py==1.4.19
4+
coverage
5+
pep8
116
pyflakes
12-
python-coveralls==2.4.2
7+
python-coveralls
8+
tox
9+
# Required for the app
10+
six
1311
python-dateutil>=2.1
14-
requests==2.1.0
15-
sh==1.09
16-
simplejson>=3.3.1
17-
six>=1.4.1
18-
tox==1.6.1
19-
virtualenv==1.11
20-
rfc3987
12+
rfc3987

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
include_package_data=True,
1515
install_requires=(
1616
'python-dateutil>=2.1',
17-
'simplejson>=3.3.1',
1817
'six>=1.4.1',
1918
'rfc3987',
2019
),

0 commit comments

Comments
 (0)