From 3518a781e9879253aa8e117623f35d7c7538eec9 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Tue, 18 Apr 2017 09:15:16 +0200 Subject: [PATCH] typing is already included in Py >= 3.5 (#979) --- requirements.txt | 1 - setup.py | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3bf3f042..763e3982 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ jsonschema>=2.4.0 aiohttp==1.2.0 # pyup: ignore aiohttp-cors==0.4.0 # pyup: ignore yarl==0.8.1 # pyup: ignore -typing>=3.5.3.0 # Otherwise yarl fail with python 3.4 Jinja2>=2.7.3 raven>=5.23.0 psutil>=3.0.0 diff --git a/setup.py b/setup.py index 8d41046d..044d589d 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,9 @@ class PyTest(TestCommand): dependencies = open("requirements.txt", "r").read().splitlines() +if sys.version_info <= (3, 4): + dependencies.append('typing>=3.5.3.0 # Otherwise yarl fail with python 3.4') + setup( name="gns3-server", version=__import__("gns3server").__version__,