Dev build on matplotlib with conda

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
bgranger@...882... and ellisonbg@...149...

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 <ellisonbg@…149…> 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

bgranger@…882… and ellisonbg@…149…


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

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

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.pub@...149...> 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 <ellisonbg@...149...> 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
bgranger@...882... and ellisonbg@...149...

------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

--
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger@...882... and ellisonbg@...149...

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 <ellisonbg@…149…> 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.pub@…149…> 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 <ellisonbg@…149…> 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

bgranger@…882… and ellisonbg@…149…


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@…958…eforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Brian E. Granger

Cal Poly State University, San Luis Obispo

@ellisonbg on Twitter and GitHub

bgranger@…882… and ellisonbg@…149…



Matplotlib-devel mailing list

Matplotlib-devel@…1148…t

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

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 <        >

wrote:

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-devel mailing list

ellisonbg@…149…

      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 <          >

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 <>
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
and >>


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.


Matplotlib-devel mailing list


Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
�and


Matplotlib-devel mailing list
pelson.pub@…149…

ellisonbg@…149…

bgranger@…882…ellisonbg@…149…

https://www.gigenetcloud.com/

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

bgranger@…882…ellisonbg@…149…

Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Matplotlib-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Thanks Mike. I haven't had a chance to investigate further, but when I
do I will look at pkg-config...

···

On Fri, Jul 31, 2015 at 2:26 PM, Michael Droettboom <mdroe@...31...> wrote:

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 <ellisonbg@...149...> 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.pub@...149...> 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 <ellisonbg@...149...> 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
>> bgranger@...882... and ellisonbg@...149...
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>

--
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger@...882... and ellisonbg@...149...

------------------------------------------------------------------------------
_______________________________________________
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

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

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

--
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger@...882... and ellisonbg@...149...