diff --git a/setup.py b/setup.py index 6d2344c..62e6cbf 100644 --- a/setup.py +++ b/setup.py @@ -53,19 +53,16 @@ test_suite='tests', python_requires=">=2.7", install_requires=[ - 'setuptools' + 'setuptools', ], extras_require={ - ':python_version == "2.7"': [ - 'ipython >= 5.1.0, < 6.0.0', - 'toml >= 0.10.2' - ], + ':python_version == "2.7"': ['ipython >= 5.1.0, < 6.0.0', 'toml >= 0.10.2', 'decorator < 5.0.0'], # No support for python 3.0, 3.1, 3.2. - # decorator is also a dependency of Ipython. + # FTR, `decorator` is also a dependency of Ipython. ':python_version == "3.4"': ['ipython >= 6.0.0, < 7.0.0', 'toml >= 0.10.2', 'decorator < 5.0.0'], - ':python_version == "3.5"': ['ipython >= 7.0.0, < 7.10.0', 'toml >= 0.10.2'], - ':python_version == "3.6"': ['ipython >= 7.10.0, < 7.17.0', 'toml >= 0.10.2'], - ':python_version > "3.6"': ['ipython >= 7.17.0', 'toml >= 0.10.2'], + ':python_version == "3.5"': ['ipython >= 7.0.0, < 7.10.0', 'toml >= 0.10.2', 'decorator'], + ':python_version == "3.6"': ['ipython >= 7.10.0, < 7.17.0', 'toml >= 0.10.2', 'decorator'], + ':python_version > "3.6"': ['ipython >= 7.17.0', 'toml >= 0.10.2', 'decorator'], }, tests_require=[ 'mock; python_version<"3"'