镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Commit fabc33a

Browse files
thefourtheyeMyles Borins
authored andcommitted
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: #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>
1 parent 4392b4a commit fabc33a

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎tools/install.py‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
#!/usr/bin/env python
22

33
import errno
4-
5-
try:
6-
import json
7-
except ImportError:
8-
import simplejson as json
9-
4+
import json
105
import os
116
import re
127
import shutil

0 commit comments

Comments
 (0)