Skip to content

LenguajeJulia/Conda.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conda.jl

Build Status

This package allow to use conda as a binary provider for Julia. conda is a package manager which started as the binary package manager for the Anaconda Python distribution, but it also provide arbitrary packages. Conda.jl uses the miniconda minimalistic Python environment to use conda.

You can install it by running Pkg.add("Conda") at julia prompt.

Basic functionalities

Basic package managing utilities are provided in the Conda module:

  • Conda.add(package): install a package;
  • Conda.rm(package): remove (uninstall) a package;
  • Conda.update(): update all installed packages to the latest version;
  • Conda.list(): list all installed packages.

BinDeps integration: using Conda.jl as a package author

Conda.jl can be used as a Provider for BinDeps with the Conda.Manager type. You first needs to write a conda recipe, and upload the corresponding build to binstar. Then, add Conda in your REQUIRE file, and add in your deps/build.jl file the following:

using BinDeps
@BinDeps.setup
netcdf = library_dependency("netcdf", aliases = ["libnetcdf","libnetcdf4"])

...

using Conda
provides(Conda.Manager, "libnetcdf", netcdf)

If your dependency is available in another channel than the default one, you should add this channel in the CHANNELS array. For example, if you uses binstar:

using Conda
push!(Conda.CHANNELS, "https://conda.binstar.org/<username>")
provides(Conda.Manager, "libnetcdf", netcdf)

If the binary dependency is only available for some OS, give this information to BinDeps:

provides(Conda.Manager, "libnetcdf", netcdf, os=:Linux)

Bugs and suggestions

Conda have been tested on Linux and OS X, and the code for Windows is here but untested.

Please report any bug or suggestion as an issue

Licence

The Conda.jl package is licensed under the MIT Expat License, and is copyrighted by Guillaume Fraux and contributors.

About

Conda managing Julia binary dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%