Merge pull request #183 from jumpserver/connect_slow

fix(connect) 修复paramiko连接速度特么慢问题
pull/184/head 0.3.1
ibuler 2016-03-31 00:16:18 +08:00
commit edad26e05b
2 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ class PreSetup(object):
def _require_pip(self): def _require_pip(self):
color_print('开始安装依赖pip包', 'green') color_print('开始安装依赖pip包', 'green')
bash('pip uninstall -y pycrypto')
ret_code = bash('pip install -r requirements.txt') ret_code = bash('pip install -r requirements.txt')
self.check_bash_return(ret_code, "安装JumpServer 依赖的python库失败") self.check_bash_return(ret_code, "安装JumpServer 依赖的python库失败")

View File

@ -1,6 +1,6 @@
#sphinx-me==0.3 #sphinx-me==0.3
django==1.6 django==1.6
pycrypto==2.6.1 pycrypto==2.4.1
paramiko==1.16.0 paramiko==1.16.0
ecdsa==0.13 ecdsa==0.13
MySQL-python==1.2.5 MySQL-python==1.2.5