Revision: 7140
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7140&view=rev
Author:   cmoad
Date:     2009-05-25 17:38:09 +0000 (Mon, 25 May 2009)

Log Message:
-----------
initial win32 build import

Added Paths:
-----------
    trunk/matplotlib/release/win32/
    trunk/matplotlib/release/win32/Makefile
    trunk/matplotlib/release/win32/data/
    trunk/matplotlib/release/win32/data/setup.cfg

Added: trunk/matplotlib/release/win32/Makefile
===================================================================
--- trunk/matplotlib/release/win32/Makefile                             (rev 0)
+++ trunk/matplotlib/release/win32/Makefile     2009-05-25 17:38:09 UTC (rev 
7140)
@@ -0,0 +1,61 @@
+PYTHON=python
+SRCDIR=${PWD}
+ZLIBVERSION=1.2.3
+PNGVERSION=1.2.33
+FREETYPEVERSION=2.3.7
+MPLVERSION=0.98.5.3
+
+## You shouldn't need to configure past this point
+
+CFLAGS="-Os -I${SRCDIR}/zlib-${ZLIBVERSION} -I${SRCDIR}/libpng-${PNGVERSION} 
-I${SRCDIR}/freetype-${FREETYPEVERSION}/include"
+
+LDFLAGS="-L${SRCDIR}/zlib-${ZLIBVERSION} -L${SRCDIR}/libpng-${PNGVERSION} 
-L${SRCDIR}/freetype-${FREETYPEVERSION}"
+
+clean:
+       rm -rf zlib-${ZLIBVERSION}.tar.gz libpng-${PNGVERSION}.tar.bz2 \
+       freetype-${FREETYPEVERSION}.tar.bz2 \
+       zlib-${ZLIBVERSION} libpng-${PNGVERSION} freetype-${FREETYPEVERSION} \
+       matplotlib-${MPLVERSION} *~
+
+fetch_deps:
+       wget http://www.zlib.net/zlib-${ZLIBVERSION}.tar.gz
+       wget 
http://internap.dl.sourceforge.net/sourceforge/libpng/libpng-${PNGVERSION}.tar.bz2
+       wget 
http://download.savannah.gnu.org/releases/freetype/freetype-${FREETYPEVERSION}.tar.bz2
+
+zlib:
+       tar xvfz zlib-${ZLIBVERSION}.tar.gz
+       cd zlib-${ZLIBVERSION} &&\
+       ./configure &&\
+       make -j3
+
+png: zlib
+       tar xvfj libpng-${PNGVERSION}.tar.bz2
+       cd libpng-${PNGVERSION} &&\
+       export CFLAGS=${CFLAGS} &&\
+       export LDFLAGS=${LDFLAGS} &&\
+       ./configure --disable-shared &&\
+       make -j3 &&\
+       cp .libs/libpng.a .
+
+freetype:
+       tar xvfj freetype-${FREETYPEVERSION}.tar.bz2 &&\
+       cd freetype-${FREETYPEVERSION} &&\
+       export GNUMAKE=mingw32-make &&\
+       ./configure --disable-shared &&\
+       cp builds/win32/w32-mingw32.mk config.mk &&\
+       mingw32-make -j3 &&\
+       cp objs/libfreetype.a .
+
+dependencies: png freetype
+
+installers:
+       tar xvzf matplotlib-${MPLVERSION}.tar.gz &&\
+       cd matplotlib-${MPLVERSION} &&\
+       rm -rf build &&\
+       cp ../data/setup.cfg . &&\
+       export CFLAGS=${CFLAGS} &&\
+       export LDFLAGS=${LDFLAGS} &&\
+       ${PYTHON} setup.py build -c mingw32 bdist_wininst &&\
+       ${PYTHON) setupegg.py build -c mingw32 bdist_egg
+
+all: fetch_deps dependencies installers

Added: trunk/matplotlib/release/win32/data/setup.cfg
===================================================================
--- trunk/matplotlib/release/win32/data/setup.cfg                               
(rev 0)
+++ trunk/matplotlib/release/win32/data/setup.cfg       2009-05-25 17:38:09 UTC 
(rev 7140)
@@ -0,0 +1,79 @@
+# Rename this file to setup.cfg to modify matplotlib's
+# build options.
+
+[egg_info]
+tag_svn_revision = 0
+
+[status]
+# To suppress display of the dependencies and their versions
+# at the top of the build log, uncomment the following line:
+#suppress = True
+#
+# Uncomment to insert lots of diagnostic prints in extension code
+#verbose = True
+
+[provide_packages]
+# By default, matplotlib checks for a few dependencies and
+# installs them if missing. This feature can be turned off
+# by uncommenting the following lines. Acceptible values are:
+#     True: install, overwrite an existing installation
+#     False: do not install
+#     auto: install only if the package is unavailable. This
+#           is the default behavior
+#
+## Date/timezone support:
+pytz = True
+dateutil = True
+
+
+[gui_support]
+# Matplotlib supports multiple GUI toolkits, including Cocoa,
+# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of
+# these toolkits requires AGG, the Anti-Grain Geometry library,
+# which is provided by matplotlib and built by default.
+#
+# Some backends are written in pure Python, and others require
+# extension code to be compiled. By default, matplotlib checks
+# for these GUI toolkits during installation and, if present,
+# compiles the required extensions to support the toolkit. GTK
+# support requires the GTK runtime environment and PyGTK. Wx
+# support requires wxWidgets and wxPython. Tk support requires
+# Tk and Tkinter. The other GUI toolkits do not require any
+# extension code, and can be used as long as the libraries are
+# installed on your system.
+#
+# You can uncomment any the following lines if you know you do
+# not want to use the GUI toolkit. Acceptible values are:
+#     True: build the extension. Exits with a warning if the
+#           required dependencies are not available
+#     False: do not build the extension
+#     auto: build if the required dependencies are available,
+#           otherwise skip silently. This is the default
+#           behavior
+#
+gtk = False
+gtkagg = False
+tkagg = True
+wxagg = False
+macosx = False
+
+[rc_options]
+# User-configurable options
+#
+# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo,
+# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
+#
+# The Agg, Ps, Pdf and SVG backends do not require external
+# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, TkAgg or WXAgg
+# if you have disabled the relevent extension modules.  Agg will be used
+# by default.
+#
+backend = TkAgg
+#
+# The numerix module was historically used to provide
+# compatibility between the Numeric, numarray, and NumPy array
+# packages. Now that NumPy has emerge as the universal array
+# package for python, numerix is not really necessary and is
+# maintained to provide backward compatibility. Do not change
+# this unless you have a compelling reason to do so.
+#numerix = numpy


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to