[Distutils] Making pip and PyPI work with conda packages

David Mertz dmertz at continuum.io
Wed May 20 16:53:30 CEST 2015

On Tue, May 19, 2015 at 4:11 PM, Chris Barker <chris.barker at noaa.gov> wrote:
> On Tue, May 19, 2015 at 3:09 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> "conda" -- a fully open source package management system
> "Anaconda" -- a python and other stuff distribution produced by
> How Continuum does or doesn't publish the recipes it used to build
 Anaconda doesn't really have anything to do with conda-the-technology.

True.  Also though, in answer to the a question here, I asked a Continuum
colleague on the conda team.  It seems that Anaconda was built using a
proprietary system before conda-build and conda-recipes was opened, so not
all recipes have made it over to the Free side of the fence yet.  But
y'know, gh:conda-build *is*  a public repository, anyone could add more.

>> I will note that most recipes seem to consist of either 'python setup.py
install' or './configure; make; make install'.
> sure -- but those aren't the ones we want ;-)


> see if you can find the wxPython one, while you are at it :-)
>   --  though I suspect that was built from the "official" executable,
rather than re-built from scratch.

In the case of pyyaml, this is actually what's "behind the wall"

> #!/bin/bash
> patch -p0 <<EOF
> --- setup.cfg~ 2011-05-29 22:31:18.000000000 -0500
> +++ setup.cfg 2012-07-10 20:33:50.000000000 -0500
> @@ -4,10 +4,10 @@
> [build_ext]
> # List of directories to search for 'yaml.h' (separated by ':').
> -#include_dirs=/usr/local/include:../../include
> +include_dirs=$PREFIX/include
> # List of directories to search for 'libyaml.a' (separated by ':').
> -#library_dirs=/usr/local/lib:../../lib
> +library_dirs=$PREFIX/lib
> # An alternative compiler to build the extention.
> #compiler=mingw32
> $PYTHON setup.py install

It's not *only* the 'setup.py install', but it's not *that* much mystery
either.  wxPython I can't seem to find, not sure what I'm missing.

The dead increasingly dominate and strangle both the living and the
not-yet born.  Vampiric capital and undead corporate persons abuse
the lives and control the thoughts of homo faber. Ideas, once born,
become abortifacients against new conceptions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150520/a24ef7c3/attachment.html>

More information about the Distutils-SIG mailing list