From de29b969b454f38e5ef5d328208ff1d48c8a1584 2017-02-09 19:30:00 From: Matthias Bussonnier Date: 2017-02-09 19:30:00 Subject: [PATCH] Requires typing only for older python. Closes #10265 --- diff --git a/setup.py b/setup.py index b3b4b39..642b2a4 100755 --- a/setup.py +++ b/setup.py @@ -202,7 +202,6 @@ extras_require = dict( install_requires = [ 'setuptools>=18.5', 'jedi>=0.10', - 'typing', 'decorator', 'pickleshare', 'simplegeneric>0.8', @@ -218,6 +217,7 @@ install_requires = [ extras_require.update({ 'test:python_version >= "3.4"': ['numpy'], ':python_version == "3.3"': ['pathlib2'], + ':python_version <= "3.4"': ['typing'], ':sys_platform != "win32"': ['pexpect'], ':sys_platform == "darwin"': ['appnope'], ':sys_platform == "win32"': ['colorama'],