Skip to content

Commit

Permalink
Install IPython from defaults channel
Browse files Browse the repository at this point in the history
IPython 7 is already in the defaults channel so there is no need to
use conda-forge.

This reverts a part of c949b36
  • Loading branch information
tkf committed Nov 7, 2018
1 parent 8510f52 commit 8803d49
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/convenience.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,12 @@ NOT_INSTALLABLE = (false, "", Nothing)

function condajl_installation(package)
if PyCall.conda && package in conda_packages
args = `install -y -c conda-forge $package`
message = """
Installing $package via Conda.jl
Execute?:
Conda.runconda($args)
Conda.add($package)
"""
install = () -> Conda.runconda(args)
# `Conda.add_channel` overwrites user's ~/.condarc so let's
# not use it.
install = () -> Conda.add(package)
return (true, message, install)
end
return NOT_INSTALLABLE
Expand Down

0 comments on commit 8803d49

Please sign in to comment.