Blob Blame History Raw
diff -ru blessed-1.16.1.orig/requirements.txt blessed-1.16.1/requirements.txt
--- blessed-1.16.1.orig/requirements.txt	2019-10-17 23:06:56.000000000 -0400
+++ blessed-1.16.1/requirements.txt	2019-10-27 21:47:00.632633951 -0400
@@ -1,6 +1,6 @@
 wcwidth>=0.1.4
 six>=1.9.0
 # support python2.6 by using backport of 'orderedict'
-ordereddict==1.1; python_version < "2.7"
+# ordereddict==1.1; python_version < "2.7"
 # Windows requires jinxed
-jinxed>=0.5.4; platform_system == "Windows"
\ No newline at end of file
+# jinxed>=0.5.4; platform_system == "Windows"
diff -ru blessed-1.16.1.orig/setup.py blessed-1.16.1/setup.py
--- blessed-1.16.1.orig/setup.py	2019-10-17 23:06:56.000000000 -0400
+++ blessed-1.16.1/setup.py	2019-10-29 11:19:38.192905838 -0400
@@ -5,9 +5,14 @@
 
 
 def _get_install_requires(fname):
+    import sys
     result = [req_line.strip() for req_line in open(fname)
               if req_line.strip() and not req_line.startswith('#')]
 
+    # support python2.6 by using backport of 'orderedict'
+    if sys.version_info < (2, 7):
+        result.append('ordereddict>=1.1')
+
     return result