Skip to content

Commit 1caf243

Browse files
committed
Fix environment marker
This is stupid. PEP-426 mentions < but it does not seem to work. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 886e8e0 commit 1caf243

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,14 @@ def initialize_options(self):
220220
'watch': ['watchdog'],
221221
'jedi': ['jedi'],
222222
# need requests[security] for SNI support (only before 2.7.7)
223-
':python_full_version <= "2.7.7"': [
223+
':python_version == "2.6" or '
224+
'python_full_version == "2.7.0" or ' \
225+
'python_full_version == "2.7.1" or ' \
226+
'python_full_version == "2.7.2" or ' \
227+
'python_full_version == "2.7.3" or ' \
228+
'python_full_version == "2.7.4" or ' \
229+
'python_full_version == "2.7.5" or ' \
230+
'python_full_version == "2.7.6"': [
224231
'requests[security]'
225232
]
226233
}

0 commit comments

Comments
 (0)