Install python-swiftclient when installing swift.

- Fixes bug 1002789.

Change-Id: I8ee54652c6a38c7c226c820366897e53807f664d
diff --git a/stack.sh b/stack.sh
index 3d93de4..0d90bae 100755
--- a/stack.sh
+++ b/stack.sh
@@ -215,6 +215,7 @@
 NOVNC_DIR=$DEST/noVNC
 SWIFT_DIR=$DEST/swift
 SWIFT3_DIR=$DEST/swift3
+SWIFTCLIENT_DIR=$DEST/python-swiftclient
 QUANTUM_DIR=$DEST/quantum
 QUANTUM_CLIENT_DIR=$DEST/python-quantumclient
 MELANGE_DIR=$DEST/melange
@@ -684,6 +685,9 @@
 if is_service_enabled swift; then
     # storage service
     git_clone $SWIFT_REPO $SWIFT_DIR $SWIFT_BRANCH
+    # storage service client and and Library
+    git_clone $SWIFTCLIENT_REPO $SWIFTCLIENT_DIR $SWIFTCLIENT_BRANCH
+    # swift3 middleware to provide S3 emulation to Swift
     git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
 fi
 if is_service_enabled g-api n-api; then
@@ -728,6 +732,7 @@
 fi
 if is_service_enabled swift; then
     cd $SWIFT_DIR; setup_develop
+    cd $SWIFTCLIENT_DIR; setup_develop
     cd $SWIFT3_DIR; setup_develop
 fi
 if is_service_enabled g-api n-api; then
diff --git a/stackrc b/stackrc
index 98e6bd4..3c20c87 100644
--- a/stackrc
+++ b/stackrc
@@ -20,6 +20,10 @@
 SWIFT3_BRANCH=master
 
 
+# python swift client library
+SWIFTCLIENT_REPO=https://github.com/openstack/python-swiftclient
+SWIFTCLIENT_BRANCH=master
+
 # image catalog service
 GLANCE_REPO=https://github.com/openstack/glance.git
 GLANCE_BRANCH=master