Skip to content

Commit 9722702

Browse files
committed
Remove simplejson dependency
1 parent 487460d commit 9722702

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

djangobench/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import subprocess
1010
import argparse
1111
import email
12-
import simplejson
12+
import json
1313
import sys
1414
from djangobench import perf
1515

@@ -148,7 +148,7 @@ def run_benchmark(benchmark, benchmark_dir, trials, executable, env):
148148

149149
def record_benchmark_results(dest, **kwargs):
150150
kwargs['version'] = __version__
151-
simplejson.dump(kwargs, open(dest, 'w'), default=json_encode_custom)
151+
json.dump(kwargs, open(dest, 'w'), default=json_encode_custom)
152152

153153

154154
def json_encode_custom(obj):

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def read(fname):
3232
'Topic :: Software Development :: Testing',
3333
'Topic :: System :: Benchmark'
3434
],
35-
install_requires=['simplejson==3.3.1'],
3635
entry_points={
3736
'console_scripts': ['djangobench=djangobench.main:main']
3837
}

0 commit comments

Comments
 (0)