From ec11498d4dfbce2e03fe0526d1e3e6902bd02d3d Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Tue, 10 Dec 2019 18:49:06 +0500 Subject: [PATCH] mysql-python --- install/install.py | 2 +- requirments.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install/install.py b/install/install.py index d6cc4adcd..0ff02c76b 100755 --- a/install/install.py +++ b/install/install.py @@ -425,7 +425,7 @@ class preFlightsChecks: self.stdOut("Install MySQL python library") if self.distro == centos: - command = "yum -y install MySQL-python" + command = "yum install mariadb-devel gcc python36u-devel -y" else: command = "apt-get -y install libmysqlclient-dev" diff --git a/requirments.txt b/requirments.txt index 80894317e..fdcb3c7d5 100755 --- a/requirments.txt +++ b/requirments.txt @@ -32,6 +32,7 @@ jsonpatch==1.2 jsonpointer==1.9 kitchen==1.1.1 MarkupSafe==0.11 +mysqlclient==1.4.6 mock==2.0.0 parsedatetime==2.4 pbr==4.0.4