Hi, I have a patch to post the results of examples/backend_driver.py to a backend specific directory, after first clearing the directory.
Shall I commit? - Paul Index: backend_driver.py =================================================================== --- backend_driver.py (revision 4942) +++ backend_driver.py (working copy) @@ -131,6 +131,16 @@ _backend = 'cairo' else: _backend = backend + + # Clear the destination directory for the examples + path = backend + if os.path.exists(path): + import glob + for fname in os.listdir(path): + os.unlink(os.path.join(path,fname)) + else: + os.mkdir(backend) + for fname in files: if fname in exclude: print '\tSkipping %s, known to fail on backend: %s'%backend @@ -138,7 +148,7 @@ print ('\tdriving %-40s' % (fname)), basename, ext = os.path.splitext(fname) - outfile = basename + '_%s'%backend + outfile = os.path.join(path,basename) tmpfile_name = '_tmp_%s.py' % basename tmpfile = file(tmpfile_name, 'w') ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel