fix (install.py):  compatible fedora

1. mysql-python编译不过, 添加rpm-build 依赖
pull/101/head
yumaojun 2016-02-29 10:58:31 +08:00
parent 427fda1015
commit 1f9337feca
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class PreSetup(object):
def _depend_rpm(self):
color_print('开始安装依赖包', 'green')
if self._is_redhat:
bash('yum -y install git python-pip mysql-devel gcc automake autoconf python-devel vim sshpass lrzsz readline-devel')
bash('yum -y install git python-pip mysql-devel rpm-build gcc automake autoconf python-devel vim sshpass lrzsz readline-devel')
if self._is_ubuntu:
bash("apt-get -y --force-yes install git python-pip gcc automake autoconf vim sshpass libmysqld-dev python-all-dev lrzsz libreadline-dev")