From 4007befaeb7053c34d5badc5dcebc6f3908360a5 2017-02-09 20:12:07 From: Thomas Kluyver Date: 2017-02-09 20:12:07 Subject: [PATCH] Merge pull request #10277 from Carreau/typing-dependency Requires typing only for older python. --- 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'],