From be09c87f52b3755ffbed6c07be504746cb05a57b Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 10 Dec 2018 19:41:43 +0100 Subject: [PATCH] Add platform conditional for uvloop in requirements.txt --- src/Dockerfile | 1 - src/requirements.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index f35e41fd..204cad22 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -5,7 +5,6 @@ RUN apk --no-cache add build-base WORKDIR /app ADD requirements.txt /app RUN pip install --trusted-host pypi.python.org -r requirements.txt -RUN pip install --trusted-host pypi.python.org uvloop ADD . /app diff --git a/src/requirements.txt b/src/requirements.txt index 49693a53..58cdf429 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -4,4 +4,5 @@ asyncpg dateparser https://github.com/Rapptz/discord.py/archive/860d6a9ace8248dfeec18b8b159e7b757d9f56bb.zip#egg=discord.py humanize +uvloop; sys.platform != 'win32' and sys.platform != 'cygwin' and sys.platform != 'cli' ciso8601