ihaskell 0.2.0.2 → 0.2.0.3
raw patch · 2 files changed
+8/−5 lines, 2 files
Files
- IHaskell/IPython.hs +7/−4
- ihaskell.cabal +1/−1
IHaskell/IPython.hs view
@@ -37,7 +37,9 @@ ipython suppress args = do (_, ipythonDir) <- ihaskellDirs let ipythonPath = fromText $ ipythonDir ++ "/bin/ipython"- runHandles ipythonPath args handles doNothing+ sub $ do+ setenv "PYTHONPATH" $ ipythonDir ++ "/lib/python2.7/site-packages"+ runHandles ipythonPath args handles doNothing where handles = [InHandle Inherit, outHandle suppress, errorHandle suppress] outHandle True = OutHandle CreatePipe outHandle False = OutHandle Inherit@@ -75,16 +77,17 @@ let pipDeps = ["pyzmq", "tornado", "jinja2"] installDep dep = do putStrLn $ "Installing dependency: " ++ dep - quietRun pipPath ["install", "--user", dep]+ let opt = "--install-option=--prefix=" ++ ipythonDir+ run_ pipPath ["install", opt, dep] mapM_ installDep pipDeps -- Get the IPython source. gitPath <- path "git" putStrLn "Downloading IPython... (this may take a while)" cd $ fromText ihaskellDir- quietRun gitPath ["clone", "--recursive", "https://github.com/ipython/ipython.git", "ipython-src"]+ run_ gitPath ["clone", "--recursive", "https://github.com/ipython/ipython.git", "ipython-src"] cd "ipython-src"- quietRun gitPath ["checkout", ipythonCommit]+ run_ gitPath ["checkout", ipythonCommit] -- Install IPython locally. pythonPath <- path "python"
ihaskell.cabal view
@@ -7,7 +7,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.2.0.2+version: 0.2.0.3 -- A short (one-line) description of the package. synopsis: A Haskell backend kernel for the IPython project.