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

Moved deps directories to separate stl deps from views deps.

This commit is contained in:
Chris Palmer
2021-02-09 09:18:30 +00:00
parent 055e90cbb3
commit 182f39876a
4 changed files with 14 additions and 6 deletions

View File

@@ -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'] and not '/stls/' in dep and not '/dxfs/' in dep:
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']:
deps.append(dep)
return deps