SourceForge logo
SourceForge logo
Menu

matplotlib-checkins

From: <jd...@us...> - 2008年03月21日 17:57:49
Revision: 5016
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5016&view=rev
Author: jdh2358
Date: 2008年03月21日 10:57:47 -0700 (2008年3月21日)
Log Message:
-----------
more cleanup
Modified Paths:
--------------
 trunk/matplotlib/doc/make.py
Modified: trunk/matplotlib/doc/make.py
===================================================================
--- trunk/matplotlib/doc/make.py	2008年03月21日 17:54:20 UTC (rev 5015)
+++ trunk/matplotlib/doc/make.py	2008年03月21日 17:57:47 UTC (rev 5016)
@@ -34,7 +34,7 @@
 os.system('pdflatex event_handling_tut.tex')
 
 def clean():
- patterns = ['#*', '*~', '*.tex', '*.log', '*.out', '*.aux']
+ patterns = ['#*', '*~', '*.tex', '*.log', '*.out', '*.aux', '*.pdf']
 for pattern in patterns:
 for fname in glob.glob(pattern):
 os.remove(fname)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: <jd...@us...> - 2008年05月23日 14:13:21
Revision: 5225
 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5225&view=rev
Author: jdh2358
Date: 2008年05月23日 07:13:16 -0700 (2008年5月23日)
Log Message:
-----------
removed old make
Removed Paths:
-------------
 trunk/matplotlib/doc/make.py
Deleted: trunk/matplotlib/doc/make.py
===================================================================
--- trunk/matplotlib/doc/make.py	2008年05月23日 13:59:49 UTC (rev 5224)
+++ trunk/matplotlib/doc/make.py	2008年05月23日 14:13:16 UTC (rev 5225)
@@ -1,71 +0,0 @@
-#!/usr/bin/env python
-import os, sys, glob
-
-def check_png():
- if not len(glob.glob('figures/*.png')):
- raise SystemExit('No PNG files in figures dir; please run make.py in the figures directory first')
-
-def check_rst2latex():
- sin, sout = os.popen2('which rst2latex')
- if not sout.read():
- raise SystemExit('Build requires rst2latex')
-
-def check_pdflatex():
- sin, sout = os.popen2('which pdflatex')
- if not sout.read():
- raise SystemExit('Build requires pdflatex')
-
-
-
-
-def artist_tut():
- check_png()
- check_rst2latex()
- check_pdflatex()
- os.system('rst2latex artist_api_tut.txt > artist_api_tut.tex')
- os.system('pdflatex artist_api_tut.tex')
-
-
-def event_tut():
- check_png()
- check_rst2latex()
- check_pdflatex()
- os.system('rst2latex event_handling_tut.txt > event_handling_tut.tex')
- os.system('pdflatex event_handling_tut.tex')
-
-def clean():
- patterns = ['#*', '*~', '*.tex', '*.log', '*.out', '*.aux', '*.pdf']
- for pattern in patterns:
- for fname in glob.glob(pattern):
- os.remove(fname)
- print 'all clean'
-
-def all():
- artist_tut()
- event_tut()
-
-funcd = {'artist_tut': artist_tut,
- 'event_tut': event_tut,
- 'clean': clean,
- 'all': all,
- }
-
-if len(sys.argv)>1:
- for arg in sys.argv[1:]:
- func = funcd.get(arg)
- if func is None:
- raise SystemExit('Do not know how to handle %s; valid args are'%(
- arg, funcd.keys()))
- func()
-else:
- all()
-
-
-
-
-
-
-
-
-
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /