Adding support for ipython 4

This commit is contained in:
Andrew Gibiansky 2015-08-13 00:34:12 -07:00
parent d05fffbfa1
commit e1f1f0cfc4

View File

@ -134,6 +134,7 @@ verifyIPythonVersion = do
Just path -> do
output <- T.unpack <$> SH.silently (SH.run path ["--version"])
case parseVersion output of
Just (4:_) -> return ()
Just (3:_) -> return ()
Just (2:_) -> oldIPython
Just (1:_) -> oldIPython