[matplotlib-devel] Current recommended method for Windows builds?

2009-09-03 Thread Stan West
Greetings.  I had previously succeeded at building matplotlib in Windows XP
using Visual Studio 2003.  (Thanks to Charlie Moad for much guidance!)  I'm
now running Win7RC and want to set up builds in that OS for Python 2.5.  I
read in the messages of May 28 about the release build script at
trunk/matplotlib/release/win32 in SVN.  So, I'm wondering whether to (a) build
as I did previously, with VS2003 or mingw using trunk/matplotlib/setup.py and
dependencies in win32_static, or (b) build with mingw using
trunk/matplotlib/release/win32/Makefile and dependencies installed there.
What approach is recommended currently?

Regarding (a), I saw Charlie's message of Apr. 10 about an updated
win32_static.zip file, but requests for
http://matplotlib.sourceforge.net/win32_static.zip and win32_static_vs.zip
yield 404s, while win32_static.tar.gz and win32_static_vs.tar.gz date
internally from 2005 and 2006, respectively.  Is the newer archive available?

Regarding (b), would I still install ActiveTCL to \Tcl and the GTK dev package
to \GTK, as in approach (a)?


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Current recommended method for Windows builds?

2009-09-03 Thread Andrew Straw
Stan West wrote:
> Greetings.  I had previously succeeded at building matplotlib in Windows XP
> using Visual Studio 2003.  (Thanks to Charlie Moad for much guidance!)  I'm
> now running Win7RC and want to set up builds in that OS for Python 2.5.  I
> read in the messages of May 28 about the release build script at
> trunk/matplotlib/release/win32 in SVN.  So, I'm wondering whether to (a) build
> as I did previously, with VS2003 or mingw using trunk/matplotlib/setup.py and
> dependencies in win32_static, or (b) build with mingw using
> trunk/matplotlib/release/win32/Makefile and dependencies installed there.
> What approach is recommended currently?
>
> Regarding (a), I saw Charlie's message of Apr. 10 about an updated
> win32_static.zip file, but requests for
> http://matplotlib.sourceforge.net/win32_static.zip and win32_static_vs.zip
> yield 404s, while win32_static.tar.gz and win32_static_vs.tar.gz date
> internally from 2005 and 2006, respectively.  Is the newer archive available?
>
> Regarding (b), would I still install ActiveTCL to \Tcl and the GTK dev package
> to \GTK, as in approach (a)?
>   

Hi Stan,

(This is unfortunately not an answer to your questions.)

I am interested in getting the buildbot infrastructure to build
automatic nightly binaries for Windows (XP was my thought, but 7 would
also be good). If you you'd be willing to perform the work to automate
build and installation from the svn repo on either your own machine or a
virtual machine running in my linux box (presuming I could get Windows 7
running in VirtualBox), you could itch your own scratch as well as help
the MPL community.

The basic idea is that the buildbot triggers a script (or scripts) on
the buildslave machine. In particular, I have written
test/_buildbot_install.py and test/_buildbot_test.py to sequentially
install (to a virtualenv) and test MPL. Right now these are only tested
on Ubuntu, but I wrote them to be cross platform. John Hunter wrote
test/_buildbot_mac_sage.sh to do the same steps on a Mac, but it's very
installation-specific. The buildmaster simply calls these scripts,
failing if the exit code is non-zero.

It is still on my TODO list to build binaries and upload to a server,
but I think this will be pretty trivial once the first part is worked out.

Regardless of whether you can help with the buildbot automation part, if
you take notes about what you did, I'm sure it will help whomever comes
after you in the process.

-Andrew

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Current recommended method for Windows builds?

2009-09-03 Thread Andrew Straw
Andrew Straw wrote:
> I am interested in getting the buildbot infrastructure to build
> automatic nightly binaries for Windows (XP was my thought, but 7 would
> also be good). If you you'd be willing to perform the work to automate
> build and installation from the svn repo on either your own machine or a
> virtual machine running in my linux box (presuming I could get Windows 7
> running in VirtualBox)
Hmm, it seems MS disabled Windows 7 RC downloads. So I'm unable to
create such a virtual machine.

-Andrew

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] spines with 'axes' positions show in wrong place?

2009-09-03 Thread jason-sage
Andrew Straw wrote:
> jason-s...@creativetrax.com wrote:
>   
>> Do the right and top spines display correctly when the position is set 
>> using 'axes' coordinates?
>>   
>> 
> Jason,
>
> This looks like a bug. I'll look into it. Please ping me in a few days
> if you haven't heard back.
>   


This is just a friendly ping about the issue in this thread.  I'm 
delaying the patch that shifts Sage's graphics to using the new 
matplotlib and spines, and I think resolving this issue would probably 
resolve the remaining big problem (placing axes labels, as mentioned in 
the thread "setting axis label offset from end of spine").

Thanks,

Jason


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] spines with 'axes' positions show in wrong place?

2009-09-03 Thread John Hunter
On Thu, Sep 3, 2009 at 8:05 PM,  wrote:

> This is just a friendly ping about the issue in this thread.  I'm
> delaying the patch that shifts Sage's graphics to using the new
> matplotlib and spines, and I think resolving this issue would probably
> resolve the remaining big problem (placing axes labels, as mentioned in
> the thread "setting axis label offset from end of spine").

To make sure this doesn't get misplaced, please post it on the bug tracker:

  https://sourceforge.net/tracker/?group_id=80706&atid=560720

and I'll make sure it gets assigned to Andrew :-)

JDH

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] [Fwd: Re: [Numpy-discussion] snow leopard issues with numpy]

2009-09-03 Thread Andrew Straw
It looks like we may be on the hook for some c++ ABI breakage with
Apple's latest OS (Snow Leopard). See the attached email forwarded from
the numpy mailing list.

-Andrew
--- Begin Message ---
On Fri, Sep 4, 2009 at 1:49 AM, Charles R
Harris wrote:
>
>
> On Thu, Sep 3, 2009 at 10:39 AM, Robert Kern  wrote:
>>
>> On Thu, Sep 3, 2009 at 11:13, Charles R Harris
>> wrote:
>> >
>> >
>> > On Thu, Sep 3, 2009 at 10:02 AM, Wolfgang Kerzendorf
>> >  wrote:
>> >>
>> >> I just installed numpy and scipy (both svn) on OS X 10.6 and just got
>> >> scipy to work with Robert Kern's help. Playing around with numpy I got
>> >> the following segfault:
>> >> http://pastebin.com/m35220dbf
>> >> I hope someone can make sense of it. Thanks in advance
>> >>      Wolfgang
>> >
>> > I'm going to guess it is a python problem. Which version of python do
>> > you
>> > have and where did it come from?
>>
>> Or a matplotlib problem. _path.so is theirs.
>>
>
> Likely, then. I had to recompile matplotlib from svn when I upgraded to
> Fedora 11.

Looks like C++ code, and snow leopard has gcc 4.2, which is likely to
have some subtle ABI incompatibilities with 4.0 (the one from
leopoard). So yes, a matplotlib rebuild would be the first thing to
try.

cheers,

David
___
NumPy-Discussion mailing list
numpy-discuss...@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
--- End Message ---
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel