Re: [matplotlib-devel] release plans

2007-11-26 Thread Charles Moad
  Ready whenever.  I did a test 10.5 bulid a few days ago  
targeting 10.4 with the latest libpng and freetype statically linked  
in.  All went pretty well.  I'll write up build instructions similar  
to yours when I go through the motions again.

- Charlie

On Nov 26, 2007, at 4:55 PM, John Hunter wrote:

> A couple of weeks ago we talked about doing a release, but with the
> deluge of changes (stix fonts, site.cfg, and others) I thought it
> might be a good idea to shake the tree for bugs.  I think enough time
> has elapsed since these changes went in that we should proceed with
> the plan to release 0.91 if there are no objections.  Charlie, what
> does your schedule look like?
>
> JDH


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] STIX fonts bug in 0.91.0 release

2007-11-28 Thread Charles Moad
So should I bother with binary releases for 0.91.0?  I assume you  
meant 0.91.1 below as well.

- Charlie

On Nov 28, 2007, at 3:34 PM, John Hunter wrote:

> On Nov 28, 2007 2:21 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>> I suppose this was bound to happen...
>>
>> The released version has a bug that prevents using the (serif) STIX
>> fonts.  Entirely my fault for not checking all font possibilities  
>> after
>> a recent change.
>>
>> r4492 fixes this bug.
>>
>> Let me know how you want to proceed...  I'm happy to help cutting
>> another release if we decide to do that.
>
> I think we should wait until we've had a chance to collect a few bugs
> first...  We'll announce on mpl-users, and after a few days to give
> bugs a chance to filter in, we'll cut 90.1, and then announce to a
> wider audience, eg python-list.
>
> JDH
>
> -
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] MacOSX distrubution build notes

2007-11-29 Thread Charles Moad
For reference and possible critique, I wrote up notes on how I built a Universal matplotlib dist.# Build instructions for a matplotlib distribution on OSX# Using python-2.5 package from python.org# Getting startingquaternion:mpl-build cmoad$ pwd/usr/local/src/mpl-buildquaternion:mpl-build cmoad$ lltotal 11408-rw-r--r--@ 1 cmoad  staff   1.2M Jul  2 18:06 freetype-2.3.5.tar.bz2-rw-r--r--@ 1 cmoad  staff   600K Nov  9 07:31 libpng-1.2.23.tar.bz2-rw-r--r--  1 cmoad  wheel   3.8M Nov 29 21:47 matplotlib-0.91.1.tar.gz# Setup environment for Universal builds of libpng and freetypequaternion:mpl-build cmoad$ export MACOSX_DEPLOYMENT_TARGET=10.4quaternion:mpl-build cmoad$ export CFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk"quaternion:mpl-build cmoad$ export LDFLAGS="-arch i386 -arch ppc -syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"# Starting with libpngquaternion:mpl-build cmoad$ tar -xjf libpng-1.2.23.tar.bz2 quaternion:mpl-build cmoad$ cd libpng-1.2.23# To avoid errors with "-M" flags and Universal builds, pass "--disable-dependency-tracking" to configurequaternion:libpng-1.2.23 cmoad$ ./configure --disable-dependency-trackingquaternion:libpng-1.2.23 cmoad$ make -j3# To make sure we don't link against the dynamic libs, copy the static library to the libpng source rootquaternion:libpng-1.2.23 cmoad$ cp .libs/libpng.a ./# To prove we have a Universal binaryquaternion:libpng-1.2.23 cmoad$ file libpng.a libpng.a: Mach-O universal binary with 2 architectureslibpng.a (for architecture i386):       current ar archive random librarylibpng.a (for architecture ppc):        current ar archive random library# Next to freetypequaternion:libpng-1.2.23 cmoad$ cd ../quaternion:mpl-build cmoad$ tar -xjf freetype-2.3.5.tar.bz2 quaternion:mpl-build cmoad$ cd freetype-2.3.5quaternion:freetype-2.3.5 cmoad$ ./configurequaternion:freetype-2.3.5 cmoad$ make -j3# Copy the freetype static lib to its source root as wellquaternion:freetype-2.3.5 cmoad$ cp objs/.libs/libfreetype.a ./# To prove we have a Universal binaryquaternion:freetype-2.3.5 cmoad$ file libfreetype.a libfreetype.a: Mach-O universal binary with 2 architectureslibfreetype.a (for architecture i386):  current ar archive random librarylibfreetype.a (for architecture ppc):   current ar archive random library# Finally to matplotlibquaternion:freetype-2.3.5 cmoad$ cd ../# This OSX package from python.org will build Universal python extensions without our helpquaternion:mpl-build cmoad$ unset MACOSX_DEPLOYMENT_TARGETquaternion:mpl-build cmoad$ unset CFLAGS quaternion:mpl-build cmoad$ unset LDFLAGS# Point gcc to our new Universal builds of libpng and freetypequaternion:mpl-build cmoad$ export CFLAGS="-arch ppc -arch i386 -I/usr/local/src/mpl-build/libpng-1.2.23 -I/usr/local/src/mpl-build/freetype-2.3.5/include"quaternion:mpl-build cmoad$ export LDFLAGS="-arch ppc -arch i386 -L/usr/local/src/mpl-build/libpng-1.2.23 -L/usr/local/src/mpl-build/freetype-2.3.5"# Now we are ready to build matplotlibquaternion:mpl-build cmoad$ tar -xzf matplotlib-0.91.1.tar.gz quaternion:mpl-build cmoad$ cd matplotlib-0.91.1# Matplotlib's detected environment for those interested (I already installed numpy)quaternion:matplotlib-0.91.1 cmoad$ python setupegg.py BUILDING MATPLOTLIB            matplotlib: 0.91.1                python: 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)  [GCC                        4.0.1 (Apple Computer, Inc. build 5367)]              platform: darwinREQUIRED DEPENDENCIES                 numpy: 1.0.4             freetype2: found, but unknown version (no pkg-config)OPTIONAL BACKEND DEPENDENCIES                libpng: found, but unknown version (no pkg-config)               Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4              wxPython: no                        * wxPython not found                  Gtk+: no                        * Building for Gtk+ requires pygtk; you must be able                        * to "import gtk" in your build/install environment                    Qt: no                   Qt4: no                 Cairo: noOPTIONAL DATE/TIMEZONE DEPENDENCIES              datetime: present, version unknown              dateutil: matplotlib will provide                  pytz: matplotlib will provideOPTIONAL USETEX DEPENDENCIES                dvipng: no           ghostscript: /bin/sh: gs: command not found                 latex: noEXPERIMENTAL CONFIG PACKAGE DEPENDENCIES             configobj: matplotlib will provide      enthought.traits: matplotlib will provide# Finally build the matplotlib eggquaternion:matplotlib-0.91.1 cmoad$ python setupegg.py bdist_egg# The resulting eggs which should be **cross fingers** 10.3+ compatiblequaternion:matplotlib-0.91.1 cmoad$ ll dist/total 12184-rw-r--r--  1 cmoad  wheel   5.9M Nov 29 23:03 matplotlib-0.91.1-py2.5-macosx-10.3-fat.egg
# ENDAttached as well in case line breaks destroy the readability.{\rtf1\ansi\ansicpg1252\cocoartf949
{\fonttb

[matplotlib-devel] 0.91.1 posted

2007-11-29 Thread Charles Moad
  I posted the 0.91.1 source and mac build.  Please test it out.   
I held off on the announcement since I haven't built the windows  
binaries.
  I did run into several problems that stemmed from files not  
being mentioned in "MANIFEST.in".  Some included "CXX/*.h", "ttconv/ 
*.h" and "setup.cfg.template".  Basically these files were not being  
included in the sdist output.  I thought I would mention it in case  
people notice missing files.

- Charlie

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Building matplotlib on Windows

2008-06-05 Thread Charles Moad
Stan,
 I am cc'ing the dev list for archival reasons.

  I prefer the VS2003 build for several reasons.  It is faster to  
build.  The resulting code is faster and smaller too.  This is due to  
Microsoft's compiler just being better than gcc.  The process is not  
necessarily easier either way though.  I will try to outline the steps  
from memory here, but definitely check out the information in the  
header of setupext.py and in the zip win32_static* files.

Tk backend:
Install the latest 8.4 release of ActiveTCL into "C:\Tcl".

GTK backend:
Install the lastest 2.10 version of the win32 gtk dev package into "C: 
\GTK".  You can get these here "http://sourceforge.net/projects/gladewin32/ 
".  gtk-2.12 does not work.
Install the latest 2.10 versions of pygtk.

GTK is a little off when it comes to pkg-config, so if you want the  
gtk backend I'll have to give you some more information.  I am happy  
to do this, but it is late for me so I am just holding off right now.

WX is native python now, so nothing special is needed.

Obviously have numpy-1.1 installed.

This setup is the same for python 2.4 and 2.5.

Since you are going to be using svn, just extract the  
win32_static_vs.zip (for VS2003) in you matplotib folder.  You should  
then have a win32_static folder in there.

Building a package is as simple as:

C:\Python25\python.exe setup.py build --compiler=msvc bdist_wininst

or

C:\Python25\python.exe setupegg.py build --compiler=msvc bdist_egg

If you want to use mingw, that just involves installing mingw to "C: 
\mingw" and using the win32_static.zip instead of the vs version.

Let me know how it goes,

Charlie

On Jun 5, 2008, at 1:28 PM, Stan West wrote:

> Thank you for the prompt reply.  I have both compilers and have little
> preference between them at the outset.  Are there significant  
> differences in
> either the build process or the result that I should consider?
>
>
> -Original Message-
> From: Charlie Moad [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 05, 2008 12:30
> To: Stan West
> Subject: Re: Building matplotlib on Windows
>
> I should first ask if you are planning to build with mingw or visual  
> studio
> 2003?
>
> - Charlie
>
> On Thu, Jun 5, 2008 at 11:09 AM, Stan West <[EMAIL PROTECTED]>  
> wrote:
>> Greetings. I gather from the matplotlib mailing lists that you're the
>> expert on building it under Windows. I'd like to learn how to do that
>> to benefit from bug-fixes. What's involved? I started gathering the
>> dependencies mentioned in the COMPILING section of the INSTALL file.
>> That lead me to setupext.py, which led me to win32_static, where I
>> found files intended for Python 2.2 to 2.4. Figuring from that that
>> some of the build information might be outdated, I decided to contact
>> you directly and ask about the current state of things. I would  
>> appreciate
> any help you can offer.
>>
>> Kind regards,
>>
>> Stan West, Ph.D.
>> Research Physicist
>> U.S. NAVAL RESEARCH LABORATORY
>>
>
>


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] sphinx error

2008-06-19 Thread Charles Moad
Just jumped into the new docs to take a look and immediately having  
problems building.  I am hoping someone can make a quick fix so I  
don't have to debug.

quaternion:doc cmoad$ ./make.py html
Sphinx v0.3, building html
trying to load pickled env... not found
building [html]: targets for 45 source files that are out of date
updating environment: 45 added, 0 changed, 0 removed
reading... api/artist_api Exception occurred:
   File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ 
inheritance_diagram.py", line 78, in _import_class_or_module
 "Invalid class '%s' specified for inheritance diagram" % name)
ValueError: Invalid class 'matplotlib.patches' specified for  
inheritance diagram

Thanks,
Charlie

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] upcoming release

2008-06-22 Thread Charles Moad
The releases and builds are up.  Please test them out, and I'll leave  
the announcements to you, John.


- Charlie

On Jun 22, 2008, at 12:43 PM, John Hunter wrote:

On Fri, Jun 20, 2008 at 10:20 AM, Charlie Moad <[EMAIL PROTECTED]>  
wrote:
Can we shoot for Sunday night?  It would be much more convenient  
for me at

least.


I'll be traveling most of the day so I will be mostly out of
touch(some blackberry access), but I did a round of testing on the
branch and the trunk and things look good to go from my end.

JDH


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel