Skip to content

Commit

Permalink
BLD: Install ipython<6 for Python2 (quantopian#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
mckelvin authored and twiecki committed May 4, 2017
1 parent 68fa432 commit 40ee024
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
import sys
from setuptools import setup

import versioneer
Expand Down Expand Up @@ -38,8 +39,13 @@
'Topic :: Scientific/Engineering :: Mathematics',
'Operating System :: OS Independent']

if (sys.version_info.major, sys.version_info.minor) >= (3, 3):
support_ipython_6 = True
else:
support_ipython_6 = False

install_reqs = [
'ipython>=3.2.3',
'ipython>=3.2.3' if support_ipython_6 else 'ipython>=3.2.3, <6',
'matplotlib>=1.4.0',
'numpy>=1.9.1',
'pandas>=0.19.0',
Expand Down

0 comments on commit 40ee024

Please sign in to comment.