From 055e90cbb364a25b44355aa0271c288a2fff6935 Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Mon, 8 Feb 2021 22:44:21 +0000 Subject: [PATCH] /stls/ and /dxfs/ excluded from deps to prevent circular dependencies. --- scripts/deps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deps.py b/scripts/deps.py index 6239915..0f50fa3 100644 --- a/scripts/deps.py +++ b/scripts/deps.py @@ -34,7 +34,7 @@ def read_deps(dname): for line in lines: if line.startswith('\t'): dep = line[1 : -1].rstrip(' \\').replace('\\ ', ' ') - if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']: + if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad'] and not '/stls/' in dep and not '/dxfs/' in dep: deps.append(dep) return deps