conda build with binstar dependencies

0 views
Skip to first unread message

jan.gerr...@gmail.com

unread,
Mar 18, 2014, 6:41:00 AM3/18/14
to co...@continuum.io
Hi,

I got a question on the build framework. Say I want to build a package which depends on some other packages that are only available through binstar. Is it possible to put a direct link to that binstar package into the meta.yaml?
This is so that other people can install this package without having to add all the dependency channels of binstar to their conda config. Or is there another way to solve this? I hope it is clear what I am trying to do here ;).

Kind regards,
Jan Harms

Aaron Meurer

unread,
Mar 19, 2014, 5:12:33 PM3/19/14
to Jan Harms, conda, Sean Ross-Ross
There's no way to do this within conda (currently). One way would be
to add the package to your own binstar channel. Maybe binstar can
provide a more unified way to do this (or already does).

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "conda - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to conda+un...@continuum.io.
> To post to this group, send email to co...@continuum.io.
> Visit this group at http://groups.google.com/a/continuum.io/group/conda/.

Bradley Kreider

unread,
Mar 19, 2014, 10:24:50 PM3/19/14
to Aaron Meurer, Jan Harms, conda, Sean Ross-Ross
Hi Jan,

I’m not sure if the feature is out of alpha, but there is a feature called “collections” which allows you to pull in packages from other binstar channels (syncing from those other channels). Then you can point users at your collection instead of your channel. It’s a point in time snapshot. We are still working on some issues around it, but that is the kind of feature you need to provide a stable set of packages needed for installing your package.

Bradley Kreider

Bas

unread,
Aug 26, 2015, 2:53:32 PM8/26/15
to conda - Public, aaron....@continuum.io, jan.gerr...@gmail.com, sean.ro...@continuum.io
Sorry to respond on such an old thread, but I'm having the same issue.

Is there now a good way to do it? And how?

Best, Bas Nijholt

Lori Burns

unread,
Aug 26, 2015, 3:05:32 PM8/26/15
to conda - Public, jan.gerr...@gmail.com
Aaron's suggestion of forking the target binstar package onto your own binstar acct worked well for me in this situation. Then your users need only subscribe to your channel to get what you've selected to be the right versions of others' conda packages. Here's more explicit syntax copied from https://conda.binstar.org/

miniconda/bin/anaconda copy asmeurer/gsl/1.16/linux-64/gsl-1.16-1.tar.bz2
Reply all
Reply to author
Forward
0 new messages