On Tue, May 19, 2015 at 1:27 PM, Paul Moore <p.f.mo...@gmail.com> wrote:

> > And maybe all that needs to be is a gitHub project with build scripts.
> But I
> > had little luck in getting any traction that way. That is, until we had
> > Anaconda, conda and binstar ---  an infrastructure that provides a way
> for
> > folks to collaborate on this kind of ugly package building effort.
>
> Yeah, it's all about getting people interested. I wish the github
> project model would work (it did for msys2) but just wishing doesn't
> help much.
>

well, to be fair, critical mass is key -- and I did not get far in
generating that critical mass myself. If a couple dedicated people were to
start such a project, and get it far enough that is was really easy for new
folks to jump in and grab what they need -- it might keep rolling.


> Let me ask a different question, then. If I wanted to get hold of
> (say) libraries for libyaml, libxml2, and maybe a few others (libxpm?)
> is the conda work of any use for me? I don't want to build conda
> packages, or depend on them, I just want to grab Python-compatible
> libraries that I can link into my extension wheel build, or into my
> application that embeds Python. Ideally, I'd want static libs, but I
> understand that conda doesn't go that route (at the moment, at least).
> Even if it's just for me to better understand how conda works, is
> there an easy to follow guide I could read to see how the conda build
> of libyaml works? (I assume there must *be* a conda build of libyaml,
> as conda includes pyyaml which uses libyaml...)
>

Here's the trick -- as far as I know, a conda binary package itself does
not include the recipe used to build it. So the question is: has someone
published the conda recipe  ( conda uses a build dir with a bunch of stuff
in it, yaml, shell scripts, what have you ) for that package? if so, then
yes, it's easy to go in a look at it and see how it's done.

As far as I can tell, Continuum does not publish the build scripts used to
build all the stuff in Anaconda. But they do host:

https://github.com/conda/conda-recipes

though it's not in the least bit complete or particularly maintained. (I
don't see libxml in there). There is also a growning community of folks
developing and maintaining conda recipes for all sorts of stuff -- much of
it on gitHub:

https://github.com/ioos/conda-recipes

is one example. (those are all getting built and pushed to binstar too).

I suspect the answer is "no, conda's not designed to support that use
> case". Which is fine - but a shame.


it would be nice if a conda package got a copy of its build recipe embedded
in it.


> The "github project with build
> scripts" approach could potentially allow *more* users of the builds
> and libraries, And that, in a nutshell is the problem (on Windows, at
> least) - the community of people developing builds of common Unix
> tools and libraries is completely fragmented - msys2, conda, mingw,
>

yes, it sure is.

Anyway, I feel like we're now going round in circles. It's a hard
> (social) issue, and I don't feel like I have any answers, really.
>

me neither -- come on  -- someone give us the answer!

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to