summaryrefslogtreecommitdiffstats
path: root/requirements.txt
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-05-20 19:33:20 +0530
committerThiago da Silva <thiago@redhat.com>2016-11-18 08:15:52 -0800
commitce0feed60b2077085a66d34021a3c96bbb7f5558 (patch)
tree59f2894f7555ae5e0881bdc17c33f7ea269df231 /requirements.txt
parent2318a57a1ea632f77d5f78dc11023fb3b7fc2ad0 (diff)
Use scandir if available
scandir[1] is a directory iteration function like os.listdir(), which can optimize os.walk() by avoiding unnecessary calls to os.stat() Using scandir to avoid stat() calls requires GlusterFS to correctly set d_type field of entries in readdir() responses[2]. [1] https://github.com/benhoyt/scandir [2] http://review.gluster.org/#/c/14095/ Change-Id: Ibdb9a07d25708b5cd8fd663ac99669e7f1f7ba75 Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/14460 Reviewed-by: Thiago da Silva <thiago@redhat.com> Tested-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index a50eb9d..81ae220 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -10,3 +10,7 @@ pastedeploy>=1.3.3
simplejson>=2.0.9
xattr>=0.4
PyECLib==1.0.7 # BSD
+
+# gluster-swift specific requirements
+prettytable # needed by gswauth
+scandir>=1.3