From 5ef567405fdf7ef476fb4683fd8e455d4f762db2 Mon Sep 17 00:00:00 2001 From: Alec Buckenheimer Date: Tue, 6 Feb 2018 19:56:25 -0500 Subject: [PATCH] fixed platform from windows to win32 --- requirements-dev.txt | 4 ++-- requirements.txt | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index ecadfc68..d46aee12 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,6 +7,6 @@ httptools flake8 pytest==3.3.2 tox -ujson; sys_platform != "windows" and implementation_name == "cpython" -uvloop; sys_platform != "windows" and implementation_name == "cpython" +ujson; sys_platform != "win32" and implementation_name == "cpython" +uvloop; sys_platform != "win32" and implementation_name == "cpython" gunicorn diff --git a/requirements.txt b/requirements.txt index fa18eabf..faeec926 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles httptools -ujson; sys_platform != "windows" and implementation_name == "cpython" -uvloop; sys_platform != "windows" and implementation_name == "cpython" +ujson; sys_platform != "win32" and implementation_name == "cpython" +uvloop; sys_platform != "win32" and implementation_name == "cpython" websockets diff --git a/setup.py b/setup.py index bb8fbe4f..3f7812a2 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ setup_kwargs = { ], } -env_dependency = '; sys_platform != "windows" and implementation_name == "cpython"' +env_dependency = '; sys_platform != "win32" and implementation_name == "cpython"' ujson = 'ujson>=1.35' + env_dependency uvloop = 'uvloop>=0.5.3' + env_dependency