Skip to content

Commit

Permalink
stop checking python version (why did we ever do that?), but check fo…
Browse files Browse the repository at this point in the history
…r windows...
  • Loading branch information
cyberw committed Jun 6, 2020
1 parent c86573b commit e992225
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit e992225

Please sign in to comment.