兔八哥极品软件园    运行: 2154天 | 文章:536 篇 | 评论:8 条 | 碎语:1条

sublime text 3 package control 安装

作者:admin 发布于:2017-1-1 15:43 Sunday

官方安装方法
https://packagecontrol.io/installation#st3
import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
 
"http_proxy": "http://47.89.34.*:1080",
"https_proxy": "https://47.89.34.*:1080",
 
 


Powered by 兔八哥极品软件 苏ICP备12049267号 sitemap