Merge pull request #1073 from Kurlov/master
remove uvloop for windows setup
This commit is contained in:
commit
c93de9450a
3
setup.py
3
setup.py
|
@ -65,7 +65,8 @@ 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")):
|
# 'nt' means windows OS
|
||||||
|
if strtobool(os.environ.get("SANIC_NO_UVLOOP", "no")) or os.name == 'nt':
|
||||||
print("Installing without uvLoop")
|
print("Installing without uvLoop")
|
||||||
requirements.remove(uvloop)
|
requirements.remove(uvloop)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user