From 08e0e64ff44a8b2977e60b64b9b8e1ecbf054b27 Mon Sep 17 00:00:00 2001
From: Tom Prince <tom.prince@private.storage>
Date: Tue, 16 Nov 2021 15:29:49 -0700
Subject: [PATCH] Include colorama as a dependency for pip-compile.

---
 setup.cfg | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/setup.cfg b/setup.cfg
index 343668b..04dea5c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -49,6 +49,13 @@ install_requires =
     treq
     pyutil
     prometheus-client
+    # Include colorama as a dependency to help pip-compile deal with multiple
+    # platforms.  In particular, tqdm depends on colorama only on Windows. By
+    # including it here, pip-compile will generate hashes (and install it) on
+    # all platforms. colorama and pywin32 are our only depdencies that are only
+    # required on some platforms; we can't include pywin32 here as it does not
+    # install cross-platform.
+    colorama
 
 [options.extras_require]
 test = coverage; fixtures; testtools; hypothesis
-- 
GitLab