1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-01 21:20:11 +02:00

/stls/ and /dxfs/ excluded from deps to prevent circular dependencies.

This commit is contained in:
Chris Palmer
2021-02-08 22:44:21 +00:00
parent 832380f893
commit 055e90cbb3

View File

@@ -34,7 +34,7 @@ def read_deps(dname):
for line in lines: for line in lines:
if line.startswith('\t'): if line.startswith('\t'):
dep = line[1 : -1].rstrip(' \\').replace('\\ ', ' ') 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) deps.append(dep)
return deps return deps