remove uvloop from install (to support windows users)

This commit is contained in:
omerbn 2017-09-24 03:41:32 +03:00 committed by GitHub
parent 3b0634bec8
commit bbb5419ffe

View File

@ -65,7 +65,7 @@ if strtobool(os.environ.get("SANIC_NO_UJSON", "no")):
print("Installing without uJSON") print("Installing without uJSON")
requirements.remove(ujson) requirements.remove(ujson)
if strtobool(os.environ.get("SANIC_NO_UVLOOP", "no")): if True or strtobool(os.environ.get("SANIC_NO_UVLOOP", "no")):
print("Installing without uvLoop") print("Installing without uvLoop")
requirements.remove(uvloop) requirements.remove(uvloop)