Commit 8f643269 authored by d10genes's avatar d10genes

allow ipython version 3

parent f911197c
......@@ -181,6 +181,7 @@ setupIPython DefaultIPython = do
checkIPythonVersion path = do
output <- unpack <$> shelly (silently $ run path ["--version"])
case parseVersion output of
Just (3:_) -> putStrLn "Using system-wide dev version of IPython."
Just (2:_) -> putStrLn "Using system-wide IPython."
Just (1:_) -> badIPython "Detected old version of IPython. IHaskell requires 2.0.0 or up."
Just (0:_) -> badIPython "Detected old version of IPython. IHaskell requires 2.0.0 or up."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment