summaryrefslogtreecommitdiff
path: root/tools/install.py
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2016-04-07 20:58:11 +0530
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2016-04-12 21:33:16 +0530
commit73c18903aa31c49e30945a4c58b1e3075dc47115 (patch)
tree01a15d3b0017ae2e7cff4236eb1e5889c5261d74 /tools/install.py
parent819b2d36bcffdb9f33e0e4497ac818d64fe5711d (diff)
downloadandroid-node-v8-73c18903aa31c49e30945a4c58b1e3075dc47115.tar.gz
android-node-v8-73c18903aa31c49e30945a4c58b1e3075dc47115.tar.bz2
android-node-v8-73c18903aa31c49e30945a4c58b1e3075dc47115.zip
tools: remove simplejson dependency
As Node.js expects either Python 2.6 or 2.7 installed to work properly, simplejson module is no longer necessary. It was included in Python 2.6 as the json module. PR-URL: https://github.com/nodejs/node/pull/6101 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'tools/install.py')
-rwxr-xr-xtools/install.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/install.py b/tools/install.py
index d92e656369..c1804cdde1 100755
--- a/tools/install.py
+++ b/tools/install.py
@@ -1,12 +1,7 @@
#!/usr/bin/env python
import errno
-
-try:
- import json
-except ImportError:
- import simplejson as json
-
+import json
import os
import re
import shutil