@@ -137,7 +137,7 @@ def read(*names, **kwargs):
137137 # cluecode
138138 # Some nltk version ranges are buggy
139139 'nltk >= 3.2, < 4.0' ,
140- 'py2_ipaddress >= 2.0, <3.5; python_version< "3"' ,
140+ 'py2_ipaddress >= 2.0, <3.5; python_version < "3"' ,
141141 'urlpy' ,
142142 'publicsuffix2' ,
143143 'fingerprints >= 0.6.0, < 1.0.0' ,
@@ -146,12 +146,12 @@ def read(*names, **kwargs):
146146 'patch >= 1.15, < 1.20 ' ,
147147 # to work around bug http://bugs.python.org/issue19839
148148 # on multistream bzip2 files: this can removed in Python 3.
149- 'bz2file >= 0.98; python_version< "3"' ,
149+ 'bz2file >= 0.98; python_version < "3"' ,
150150 'extractcode_libarchive' ,
151151 'extractcode_7z' ,
152152
153153 # commoncode
154- 'backports.os == 0.1.1; python_version< "3"' ,
154+ 'backports.os == 0.1.1; python_version < "3"' ,
155155 'future >= 0.16.0' ,
156156 'text_unidecode >= 1.0, < 2.0' ,
157157 'saneyaml' ,
@@ -192,8 +192,8 @@ def read(*names, **kwargs):
192192 'dparse >= 0.4.1' ,
193193
194194 # used to fix mojibake in Windows PE
195- 'ftfy < 5.0.0; python_version == "2.7"' ,
196- 'ftfy>= 5.0.0; python_version > "3" ' ,
195+ # for now we use the evrsion that works on both Python 2 and 3
196+ 'ftfy < 5.0.0' ,
197197
198198 # scancode
199199 'click >= 6.0.0, < 7.0.0' ,
@@ -210,8 +210,8 @@ def read(*names, **kwargs):
210210
211211 # ScanCode caching and locking
212212 'yg.lockfile >= 2.3, < 3.0.0' ,
213- # used by yg.lockfile
214- 'contextlib2' , 'pytz' , 'tempora' , 'jaraco.functools' ,
213+ # used by yg.lockfile
214+ 'contextlib2' , 'pytz' , 'tempora' , 'jaraco.functools' ,
215215 'zc.lockfile >= 2.0.0, < 3.0.0' ,
216216 ],
217217
0 commit comments