;ò úDGc@sQdZdkZhddg<dddg<dddg<dddg<d d d ddd g<d ddg<dddg<dddg<dddg<dddg<deidƒpdg<dddg<dddg<ddg„Z>d?„Z?d@„Z@dA„ZAdS(Bsr Some helper functions for building the C extensions you may need to edit basedir to point to the default location of your required libs, eg, png, z, freetype DARWIN I have installed all of the backends on OSX. Tk: If you want to install TkAgg, I recommend the "batteries included" binary build of Tcl/Tk at http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html GTK: I installed GTK from src as described at http://www.macgimp.org/index.php?topic=gtk. There are several packages, but all configure/make/make install w/o problem. In addition to the packages listed there, You will also need libpng, libjpeg, and libtiff if you want output to these formats from GTK. WIN32 - MINGW If you are sufficiently masochistic that you want to build this yourself, download the win32_static dir from http://matplotlib.sourceforge.net/win32_static.tar.gz and see the README file in that dir > python setup.py build --compiler=mingw32 bdist_wininst > build23.out NOTE, if you are building on python24 on win32, see http://mail.python.org/pipermail/python-list/2004-December/254826.html WIN32 - VISUAL STUDIO 7.1 (2003) This build is similar to the mingw. Download the visual studio static dependencies from http://matplotlib.sourceforge.net/win32_static_vs.tar.gz and see the README in that dir > python setup.py build bdist_wininst Nswin32s win32_staticslinux2s /usr/locals/usrslinuxscygwinsdarwins/sw/lib/freetype2s/sw/lib/freetype219s/swsfreebsd4sfreebsd5sfreebsd6sfreebsd7sfreebsd8ssunos5s MPLIB_BASEs gnukfreebsd5s gnukfreebsd6saix5(s Extensioniiiisagg23s CleanUpFilecBs tZdZd„Zd„ZRS(sBCleanUpFile deletes the specified filename when self is destroyed.cCs ||_dS(N(snamesself(sselfsname((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys__init__ascCsti|iƒdS(N(sossremovesselfsname(sself((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys__del__cs(s__name__s __module__s__doc__s__init__s__del__(((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys CleanUpFile_s  cCsnt|ƒiƒ}t|dƒi|ƒti|ƒ}ti ||i |i fƒt |ƒt ƒd|         cCsítodSnddddddddf}d |jo×gi}|D]}|d t|fƒqH~}|id d d fƒ|it i dƒƒ|it i dƒƒt ddƒ|idƒt d|dt ƒ}|iidƒt|ƒt|ƒ|i|ƒnd|jo×gi}|D]}|d t|fƒq,~}|id d d fƒ|it i dƒƒ|it i dƒƒt ddƒ|idƒt d|dtƒ}|iidƒt|ƒt|ƒ|i|ƒnd|joági}|D]}|d t|fƒq~}|id d d fƒ|it i dƒƒ|it i dƒƒt ddƒ|idƒt d|dtƒ}t|ƒ|iidƒt|ƒt|ƒ|i|ƒntadS(Nsagg_trans_affine.cppsagg_path_storage.cppsagg_bezier_arc.cppsagg_curves.cppsagg_vcgen_dash.cppsagg_vcgen_stroke.cppsagg_rasterizer_scanline_aa.cppsagg_image_filters.cppsnumarrays %s/src/%sssrc/_image.cppssrc/ft2font.cppssrc/mplutils.cpps CXX/*.cxxsCXX/*.cssrc/_backend_agg.cppssrc/_na_backend_agg.cpps#matplotlib.backends._na_backend_aggs include_dirss -DNUMARRAY=1sNumericssrc/_nc_backend_agg.cpps#matplotlib.backends._nc_backend_aggs -DNUMERIC=1snumpyssrc/_ns_backend_agg.cpps#matplotlib.backends._ns_backend_aggs -DSCIPY=1(s BUILT_AGGsaggsnumerixsappends_[1]snames AGG_VERSIONsdepssextendsglobs temp_copys Extensionsnumarray_inc_dirssmodulesextra_compile_argss add_agg_flagssadd_ft2font_flagss ext_modulessnumeric_inc_dirssadd_numpy_flagssTrue(s ext_modulesspackagessnumerixsnamesaggsmodules_[1]sdeps((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_agg_s` 1      1      1      cCs–todSndddddf}d|jo½tddƒdd g}|igi}|D]}|d t |fƒq^~ƒ|it i d ƒƒ|it i d ƒƒt d |dt ƒ}|iidƒt|ƒ|i|ƒnd|jo½tddƒdd g}|igi}|D]}|d t |fƒq(~ƒ|it i d ƒƒ|it i d ƒƒt d|dtƒ}|iidƒt|ƒ|i|ƒnd|joÇtddƒdd g}|igi}|D]}|d t |fƒqò~ƒ|it i d ƒƒ|it i d ƒƒt d|dtƒ}t|ƒ|iidƒt|ƒ|i|ƒntadS(Nsagg_trans_affine.cppsagg_path_storage.cppsagg_rasterizer_scanline_aa.cppsagg_image_filters.cppsagg_bezier_arc.cppsnumarrayssrc/_image.cppssrc/_na_image.cppssrc/mplutils.cpps %s/src/%ss CXX/*.cxxsCXX/*.csmatplotlib._na_images include_dirss -DNUMARRAY=1sNumericssrc/_nc_image.cppsmatplotlib._nc_images -DNUMERIC=1snumpyssrc/_ns_image.cppsmatplotlib._ns_images -DSCIPY=1(s BUILT_IMAGEsaggsnumerixs temp_copysdepssextendsappends_[1]snames AGG_VERSIONsglobs Extensionsnumarray_inc_dirssmodulesextra_compile_argss add_agg_flagss ext_modulessnumeric_inc_dirssadd_numpy_flagssTrue(s ext_modulesspackagessnumerixsnamesaggsmodules_[1]sdeps((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_image©sT   8     8     8   c Cs£dg}|igi}dddddddfD]}|d t|fƒq2~ƒtd |ƒ}|iid td d gƒ|i it ƒ|i|ƒdS(Ns src/agg.cxxsagg_trans_affine.cppsagg_path_storage.cppsagg_bezier_arc.cppsagg_vcgen_dash.cppsagg_vcgen_stroke.cppsagg_rasterizer_scanline_aa.cppsagg_curves.cpps %s/src/%ssmatplotlib._aggs %s/includessrcsswig( sdepssextendsappends_[1]sfnames AGG_VERSIONs Extensionsaggs include_dirss librariessstd_libss ext_modules(s ext_modulesspackagessdepssaggs_[1]sfname((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_swigaggès M  cCsÙd|joŒtidƒ}|itidƒƒtddƒtdddg|dtd d d gtƒ}|i i d ƒt |ƒ|i |ƒnd |joŒtidƒ}|itidƒƒtddƒtdddg|dtd d d gt ƒ}|i i dƒt |ƒ|i |ƒnd|jo–tidƒ}|itidƒƒtddƒtdddg|dtd d d gt ƒ}t|ƒ|i i dƒt |ƒ|i |ƒndS(Nsnumarrays CXX/*.cxxsCXX/*.cssrc/_transforms.cppssrc/_na_transforms.cppsmatplotlib._na_transformsssrc/mplutils.cpps librariess include_dirsssrcs.s -DNUMARRAY=1sNumericssrc/_nc_transforms.cppsmatplotlib._nc_transformss -DNUMERIC=1snumpyssrc/_ns_transforms.cppsmatplotlib._ns_transformss -DSCIPY=1(snumerixsglobscxxsextends temp_copys Extensionsstd_libssnumarray_inc_dirssmodulesextra_compile_argssappendsadd_base_flagss ext_modulessnumeric_inc_dirssadd_numpy_flags(s ext_modulesspackagessnumerixscxxsmodule((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pysbuild_transformssD             cCsWtodSntddgƒ}|i|ƒ|iddddddgƒtadS( Ns#matplotlib.enthought.traits.ctraitss)lib/matplotlib/enthought/traits/ctraits.csmatplotlib/enthoughtsmatplotlib/enthought/traitssmatplotlib/enthought/traits/uis#matplotlib/enthought/traits/ui/nullsmatplotlib/enthought/resourcesmatplotlib/enthought/util(sBUILT_ENTHOUGHTs Extensionsctraitss ext_modulessappendspackagessextendsTrue(s ext_modulesspackagessctraits((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pysbuild_enthought2s cCs:todSnd|joPtddƒtddgdtƒ}|iidƒt|ƒ|i|ƒnd|joPtddƒtd dgdt ƒ}|iid ƒt|ƒ|i|ƒnd |joZtdd ƒtd d gdt ƒ}t |ƒ|iidƒt|ƒ|i|ƒnt adS(Nsnumarrays src/cntr.cssrc/_na_cntr.csmatplotlib._na_cntrs include_dirss -DNUMARRAY=1sNumericssrc/_nc_cntr.csmatplotlib._nc_cntrs -DNUMERIC=1snumpyssrc/_ns_cntr.csmatplotlib._ns_cntrs -DSCIPY=1( s BUILT_CONTOURsnumerixs temp_copys Extensionsnumarray_inc_dirssmodulesextra_compile_argssappendsadd_base_flagss ext_modulessnumeric_inc_dirssadd_numpy_flagssTrue(s ext_modulesspackagessnumerixsmodule((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_contourAs:             cCs:todSnd|joPtddƒtddgdtƒ}|iidƒt|ƒ|i|ƒnd|joPtddƒtd dgdt ƒ}|iid ƒt|ƒ|i|ƒnd |joZtdd ƒtd d gdt ƒ}t |ƒ|iidƒt|ƒ|i|ƒnt adS(Nsnumarrays src/nxutils.cssrc/_na_nxutils.csmatplotlib._na_nxutilss include_dirss -DNUMARRAY=1sNumericssrc/_nc_nxutils.csmatplotlib._nc_nxutilss -DNUMERIC=1snumpyssrc/_ns_nxutils.csmatplotlib._ns_nxutilss -DSCIPY=1( s BUILT_NXUTILSsnumerixs temp_copys Extensionsnumarray_inc_dirssmodulesextra_compile_argssappendsadd_base_flagss ext_modulessnumeric_inc_dirssadd_numpy_flagssTrue(s ext_modulesspackagessnumerixsmodule((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_nxutilsjs:             cCsjtodSnd|jo`tddƒtddgdgdtƒ}|iidƒt|ƒt |ƒ|i|ƒnd|jo`tdd ƒtd d gdgdt ƒ}|iid ƒt|ƒt |ƒ|i|ƒnd |jojtdd ƒtdd gdgdt ƒ}t |ƒ|iidƒt|ƒt |ƒ|i|ƒnt adS(Nsnumarrayssrc/_backend_gdk.cssrc/_na_backend_gdk.cs#matplotlib.backends._na_backend_gdks librariess include_dirss -DNUMARRAY=1sNumericssrc/_nc_backend_gdk.cs#matplotlib.backends._nc_backend_gdks -DNUMERIC=1snumpyssrc/_ns_backend_gdk.cs#matplotlib.backends._ns_backend_gdks -DSCIPY=1(s BUILT_GDKsnumerixs temp_copys Extensionsnumarray_inc_dirssmodulesextra_compile_argssappendsadd_base_flagssadd_pygtk_flagss ext_modulessnumeric_inc_dirssadd_numpy_flagssTrue(s ext_modulesspackagessnumerixsmodule((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_gdk“sF                cCs-tddgƒ}t|ƒ|i|ƒdS(Nssubprocess._subprocessssrc/_subprocess.c(s Extensionsmodulesadd_base_flagss ext_modulessappend(s ext_modulesspackagessmodule((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pysbuild_subprocessÃs  cCs-tddgƒ}t|ƒ|i|ƒdS(Nsmatplotlib._isnans src/_isnan.c(s Extensionsmodulesadd_base_flagss ext_modulessappend(s ext_modulesspackagessmodule((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys build_isnanËs  (Bs__doc__sossgetenvsbasedirssyssstatsdistutils.cores Extensionsglobs version_infosmajorsminor1sminor2ssstmpsTruesFalses BUILT_AGGs BUILT_FT2FONTs BUILT_GTKAGGs BUILT_IMAGEs BUILT_TKAGGs BUILT_WXAGGsBUILT_WINDOWINGs BUILT_CONTOURs BUILT_NXUTILSsBUILT_ENTHOUGHTs BUILT_GDKs AGG_VERSIONsnumeric_inc_dirssnumarray_inc_dirss CleanUpFiles temp_copysget_win32_compilerswin32_compilersplatformsstd_libssadd_base_flagss getoutputsadd_numpy_flagss add_agg_flagss add_gd_flagssadd_ft2font_flagssadd_pygtk_flagssfind_wx_configscheck_wxpython_headerss add_wx_flagss FoundTclTks find_tcltks add_tk_flagssadd_windowing_flagssbuild_windowings build_ft2fonts build_gtkaggs build_tkaggs build_wxaggs build_aggs build_images build_swigaggsbuild_transformssbuild_enthoughts build_contours build_nxutilss build_gdksbuild_subprocesss build_isnan(2s build_tkaggsmajorsget_win32_compilers add_agg_flagssbuild_transformss temp_copys build_swigaggswin32_compilers AGG_VERSIONsbuild_windowingsnumeric_inc_dirsstmps add_wx_flagss Extensionsbuild_subprocesss build_aggscheck_wxpython_headerssbasedirs build_isnansadd_ft2font_flagss FoundTclTks getoutputsadd_pygtk_flagssbuild_enthoughtsstd_libssadd_windowing_flagssTruesnumarray_inc_dirssstatsminor2sminor1s build_ft2fonts find_tcltks build_gtkaggsglobs build_gdks build_imagessyssadd_base_flagss add_tk_flagss add_gd_flagssFalses CleanUpFiles build_wxaggs build_nxutilssadd_numpy_flagssfind_wx_configsssoss build_contour((sH/mnt/gmirror/ports/math/py-matplotlib/work/matplotlib-0.90.0/setupext.pys?*s| è  '          7   * 8 H    @ J ?  2  ) ) 0