Skip to content

Commit 521a153

Browse files
committed
Simplified version check
1 parent 0f9eb1b commit 521a153

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

setup.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@
3939
'Topic :: Scientific/Engineering :: Mathematics',
4040
'Operating System :: OS Independent']
4141

42-
if (sys.version_info.major, sys.version_info.minor) >= (3, 3):
43-
support_ipython_6 = True
44-
else:
45-
support_ipython_6 = False
42+
support_ipython_6 = (sys.version_info >= (3, 3))
4643

4744
install_reqs = [
4845
'ipython>=3.2.3' if support_ipython_6 else 'ipython>=3.2.3, <6',

0 commit comments

Comments
 (0)