From 1436fb3ef448841dd36991ceb0ccc50ee3d68047 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Fri, 10 Feb 2017 13:14:36 +0000 Subject: [PATCH] Don't ask for uvloop on windows This is a tricky issue, but essentially uvloop is unavailable on windows. This means for windows users, we have to install Sanic with no requirements, and then manually specify all requirements apart from uvloop. However, Sanic will work with standard asyncio event loop. So, I propose we remove the uvloop requirement on windows. This patch doesn't touch any demo imports. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e7899e6f..83133400 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( packages=['sanic'], platforms='any', install_requires=[ - 'uvloop>=0.5.3', + 'uvloop>=0.5.3;platform_system!="Windows"', 'httptools>=0.0.9', 'ujson>=1.35', 'aiofiles>=0.3.0',