Re: [Matplotlib-users] matplotlib for Mac OS 10.7 (Lion)

2012-04-24 Thread Russell E. Owen
In article 
,
 C M  wrote:

> > > Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test
> > > scripts I send him, and have some questions:
> > >
> > > 1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with
> > > Lion?
> >
> > Yes. You can easily build it yoursef as long as you have XCode
> > installed:
> >
> > - Edit setupext.py so that the list of values for "darwin" is
> > ['/usr/local', '/usr', /usr/X11']
> > (and for a really vanilla build leave out /usr/local). (I have a pull
> > request for this to be part of the standard distro, but I don't know if
> > or when it will go in since not a big issue.)
> >
> > Then do the usual:
> > % python setup.py build
> > % sudo python setup.py install
> 
> Where are you getting matplotlib 1.1 for Mac OSX 10.7 from to build it?

1.1.0 is the current release. I downloaded the unix tarball.

> > > 2) When is there expected to be an installer for Matplotlib 1.1 for OSX
> > > 10.7?
> >
> > There is one, but like all the matplotlib (and numpy and scipy) official
> > binaries it uses python.org's python, not Apple's.
> >
> > To go this route install python.org's Python 2.7.2 for 10.6-and-later
> > (which is 64-bit) and then install the official numpy and matpotlib
> > binaries.
> 
> >From where?  I didn't see it.  I am talking about having a binary
> installer on the Matplotlib downloads page,,. the last one I see there
> is this, which is for OSX-10.6:
> 
> matplotlib-1.1.0-py2.7-python.org-macosx10.6.dmg2012-02-15

That is the one. 10.6 means "10.6 and later". It is build for 
python.org's Mac binary installer for 10.6 and later, which works just 
fine on Lion.

-- Russell


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib for Mac OS 10.7 (Lion)

2012-04-24 Thread C M
> > Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test
> > scripts I send him, and have some questions:
> >
> > 1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with
> > Lion?
>
> Yes. You can easily build it yoursef as long as you have XCode
> installed:
>
> - Edit setupext.py so that the list of values for "darwin" is
> ['/usr/local', '/usr', /usr/X11']
> (and for a really vanilla build leave out /usr/local). (I have a pull
> request for this to be part of the standard distro, but I don't know if
> or when it will go in since not a big issue.)
>
> Then do the usual:
> % python setup.py build
> % sudo python setup.py install

Where are you getting matplotlib 1.1 for Mac OSX 10.7 from to build it?


> > 2) When is there expected to be an installer for Matplotlib 1.1 for OSX
> > 10.7?
>
> There is one, but like all the matplotlib (and numpy and scipy) official
> binaries it uses python.org's python, not Apple's.
>
> To go this route install python.org's Python 2.7.2 for 10.6-and-later
> (which is 64-bit) and then install the official numpy and matpotlib
> binaries.

>From where?  I didn't see it.  I am talking about having a binary
installer on the Matplotlib downloads page,,. the last one I see there
is this, which is for OSX-10.6:

matplotlib-1.1.0-py2.7-python.org-macosx10.6.dmg2012-02-15

which is from about two month ago.

Thanks,
Che

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib for Mac OS 10.7 (Lion)

2012-04-23 Thread Russell E. Owen
In article 
,
 C M  wrote:

> Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test
> scripts I send him, and have some questions:
> 
> 1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with
> Lion?

Yes. You can easily build it yoursef as long as you have XCode 
installed: 

- Edit setupext.py so that the list of values for "darwin" is 
['/usr/local', '/usr', /usr/X11']
(and for a really vanilla build leave out /usr/local). (I have a pull 
request for this to be part of the standard distro, but I don't know if 
or when it will go in since not a big issue.)

Then do the usual:
% python setup.py build
% sudo python setup.py install

> 2) When is there expected to be an installer for Matplotlib 1.1 for OSX
> 10.7?

There is one, but like all the matplotlib (and numpy and scipy) official 
binaries it uses python.org's python, not Apple's.

To go this route install python.org's Python 2.7.2 for 10.6-and-later 
(which is 64-bit) and then install the official numpy and matpotlib 
binaries.

(It is a bit of a hassle to have to install a different python, but it 
has the advantage that you can freely upgrade python itself and packages 
without fear of breaking anything in the operating system.)

There are lots of other options: Enthought has a python installer that 
includes lots of useful scientific packages. ActiveState has an 
installer with a lot of packages available (though last I checked 
matplotlib was out of date, which quite surprised me). MacPorts and 
competing package managers make it easy to install packages.

Regards,

-- Russell


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] matplotlib for Mac OS 10.7 (Lion)

2012-04-20 Thread C M
Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test
scripts I send him, and have some questions:

1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with
Lion?

2) When is there expected to be an installer for Matplotlib 1.1 for OSX
10.7?

Thanks,
Che
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users