Sorry for the delayed response.

I had a discussion thread with Aaron Meurer last year about adding pkg-config support to anaconda so that matplotlib would build out-of-the-box, but I don't think that's gone anywhere. That would allow the extensive patches in the anaconda matplotlib recipe (and probably many other recipes for C and Unixy packages) to go away. (Note that the "pkgconfig" Python package in Anaconda is just the Python wrapper to the underlying Unix tool which is not present in Anaconda).

Mike

On 07/22/2015 07:52 PM, Nathan Goldbaum wrote:
One way to do this is to build a Conda package using the matplotlib recipe:

https://github.com/conda/conda-recipes/tree/master/matplotlib

Looking at the Conda recipe might give you some hints about how it locates png.h as well, although I haven't checked in detail.

On Wednesday, July 22, 2015, Brian Granger <elliso...@gmail.com <mailto:elliso...@gmail.com>> wrote:

    No I am fine linking against the stuff that ships with conda - just
    not clear on how to get the setup.py logic to look in the right place.

    On Wed, Jul 22, 2015 at 11:20 AM, Phil Elson <pelson....@gmail.com
    <javascript:;>> wrote:
    > Are you wanting to link against anything other than that
    installed with
    > conda?
    > The output of setup.py is normally pretty helpful at letting you
    know which
    > library it has found to build against.
    >
    > On 20 July 2015 at 01:54, Brian Granger <elliso...@gmail.com
    <javascript:;>> wrote:
    >>
    >> Hi all,
    >>
    >> I am trying to get a dev build of matplotlib working with the
    anaconda
    >> python.
    >>
    >> Any advice on getting matplotlib to detect and use any of the
    >> libpng/freetypes:
    >>
    >> * Those installed with anaconda python.
    >> * Those from homebrew
    >> * Those that ship with OS X
    >>
    >> Cheers,
    >>
    >> Brian
    >>
    >> --
    >> Brian E. Granger
    >> Cal Poly State University, San Luis Obispo
    >> @ellisonbg on Twitter and GitHub
    >> bgran...@calpoly.edu <javascript:;> and elliso...@gmail.com
    <javascript:;>
    >>
    >>
    >>
    
------------------------------------------------------------------------------
    >> Don't Limit Your Business. Reach for the Cloud.
    >> GigeNET's Cloud Solutions provide you with the tools and
    support that
    >> you need to offload your IT needs and focus on growing your
    business.
    >> Configured For All Businesses. Start Your Cloud Today.
    >> https://www.gigenetcloud.com/
    >> _______________________________________________
    >> Matplotlib-devel mailing list
    >> Matplotlib-devel@lists.sourceforge.net <javascript:;>
    >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
    >
    >



    --
    Brian E. Granger
    Cal Poly State University, San Luis Obispo
    @ellisonbg on Twitter and GitHub
    bgran...@calpoly.edu <javascript:;> and elliso...@gmail.com
    <javascript:;>

    
------------------------------------------------------------------------------
    _______________________________________________
    Matplotlib-devel mailing list
    Matplotlib-devel@lists.sourceforge.net <javascript:;>
    https://lists.sourceforge.net/lists/listinfo/matplotlib-devel



------------------------------------------------------------------------------


_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to