From 7e2e469f5e705bcede137f15555da19898bf1f44 Mon Sep 17 00:00:00 2001 From: Paulo Henrique Silva Date: Sun, 15 Nov 2015 22:31:36 -0200 Subject: Remove svgwrite backend We moved the functionality to cairo backend, it can write png and svg and maybe more (pdfs?) --- gerber/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gerber/__main__.py') diff --git a/gerber/__main__.py b/gerber/__main__.py index 195973b..6643b54 100644 --- a/gerber/__main__.py +++ b/gerber/__main__.py @@ -17,14 +17,14 @@ if __name__ == '__main__': from gerber.common import read - from gerber.render import GerberSvgContext + from gerber.render import GerberCairoContext import sys if len(sys.argv) < 2: sys.stderr.write("Usage: python -m gerber ...\n") sys.exit(1) - ctx = GerberSvgContext() + ctx = GerberCairoContext() ctx.alpha = 0.95 for filename in sys.argv[1:]: print("parsing %s" % filename) -- cgit