From e992225bc41d284ea27b37e967da0565038bdc13 Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Sat, 6 Jun 2020 11:04:21 +0200 Subject: [PATCH] stop checking python version (why did we ever do that?), but check for windows... --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 1c5d36a..7fe40ef 100644 --- a/setup.py +++ b/setup.py @@ -18,10 +18,8 @@ class PostDevelopCommand(develop): def run(self): - if sys.version_info[0] < 3 or sys.version_info[1] < 6: - sys.exit( - "Your Python version is no longer supported by Locust. Please upgrade Python to at least 3.6, or use a pinned old locust version (pip/pip3 install locustio==0.13.5)" - ) + if os.name == "nt": + sys.exit("Looks like you are on windows. Only MacOS and Linux are supported :(") develop.run(self)