Skip to content

Commit

Permalink
Problem: missing dependency
Browse files Browse the repository at this point in the history
Solution: mention `decorator`
  • Loading branch information
gotcha committed May 26, 2021
1 parent df4ae3d commit 6f03ee5
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand Down

0 comments on commit 6f03ee5

Please sign in to comment.