From 0d75d971c783a5110c9f6588d23023e549d193d9 Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Mon, 21 Sep 2015 16:35:34 -0700 Subject: [PATCH] Add the workaround for pip installation on RHEL 1. Add the workaround for pip installation on RHEL; 2. Add the missing dependencies in docs; Change-Id: I3d5ae11721bd67f8125e8e72e093147301eaea27 --- doc/source/installation.rst | 4 ++-- requirements.txt | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 442d3ff..8c8a61a 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -21,14 +21,14 @@ Ubuntu/Debian based: .. code-block:: bash - $ sudo apt-get install python-dev python-pip python-virtualenv git git-review + $ sudo apt-get install build-essential python-dev python-pip python-virtualenv git git-review $ sudo apt-get install libxml2-dev libxslt-dev libffi-dev libz-dev libyaml-dev libssl-dev RHEL/CentOS based: .. code-block:: bash - $ sudo yum install python-devel python-pip python-virtualenv git + $ sudo yum install gcc python-devel python-pip python-virtualenv git $ sudo yum install libxml2-devel libxslt-devel libffi-devel libyaml-devel openssl-devel MacOSX: diff --git a/requirements.txt b/requirements.txt index 6b03d9f..09441fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ pbr<2.0,>=1.3 Babel>=1.3 +attrdict>=2.0.0 lxml>=3.4.0 paramiko>=1.14.0 prettytable>=0.7.2 @@ -16,4 +17,7 @@ python-openstackclient>=0.4.1 python-keystoneclient>=1.0.0 scp>=0.8.0 tabulate>=0.7.3 -attrdict>=2.0.0 + +# Workaround for pip install failed on RHEL/CentOS +functools32>=3.2.3 +