From 859130b9a41320147b528325a4fb8cc51d1340f0 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 14 May 2011 15:11:15 -0400 Subject: [PATCH] Remove cruft from SCons generator bodies. --- site_cons/site_tools/asymptote.py | 5 ----- site_cons/site_tools/gnuplot.py | 4 ---- 2 files changed, 9 deletions(-) diff --git a/site_cons/site_tools/asymptote.py b/site_cons/site_tools/asymptote.py index 9d7f2f4..dfbce65 100644 --- a/site_cons/site_tools/asymptote.py +++ b/site_cons/site_tools/asymptote.py @@ -80,14 +80,9 @@ def generate(env): global AsymptoteAction if AsymptoteAction is None: AsymptoteAction = SCons.Action.Action('$ASYMPTOTECOM', '$ASYMPTOTECOMSTR') - - #import pdf - #pdf.generate(env) - env['BUILDERS']['Asymptote'] = SCons.Script.Builder( action=AsymptoteAction, suffix='.tex', src_suffix = '.asy', emitter=asymptote_emitter) - env['ASYMPTOTE'] = 'asy' env['ASYMPTOTEFLAGS'] = SCons.Util.CLVar( '-tex pdflatex -inlineimage -inlinetex') diff --git a/site_cons/site_tools/gnuplot.py b/site_cons/site_tools/gnuplot.py index 20bd3e7..0cccf96 100644 --- a/site_cons/site_tools/gnuplot.py +++ b/site_cons/site_tools/gnuplot.py @@ -56,10 +56,6 @@ def generate(env): global GnuplotAction if GnuplotAction is None: GnuplotAction = SCons.Action.Action('$GNUPLOTCOM', '$GNUPLOTCOMSTR') - - #import pdf - #pdf.generate(env) - env['BUILDERS']['Gnuplot'] = SCons.Script.Builder( action=GnuplotAction, suffix='.pdf', src_suffix = '.gp') env['GNUPLOT'] = 'gnuplot' -- 2.26.2