From fabc33a075ef9ad885be2e66ca8dc03f15b39426 Mon Sep 17 00:00:00 2001 From: Sakthipriyan Vairamani Date: Thu, 7 Apr 2016 20:58:11 +0530 Subject: [PATCH] tools: remove simplejson dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum Reviewed-By: Johan Bergström --- tools/install.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/install.py b/tools/install.py index cb86c65699df88..88791eab10d034 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