Skip to content

Commit

Permalink
setup.py: Handel missing Inkscape properly
Browse files Browse the repository at this point in the history
Resolves: #667
  • Loading branch information
florianfesti committed Apr 13, 2024
1 parent eff7b81 commit b1bd75e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def run(self):
self.distribution.data_files.append((path, [i for i in glob.glob(os.path.join("inkex", "*.inx"))]))
self.distribution.data_files.append((path, ['scripts/boxes']))
self.distribution.data_files.append((path, ['scripts/boxes_proxy.py']))
except CalledProcessError:
except (CalledProcessError, FileNotFoundError) as e:
print("Could not find Inkscape. Skipping plugin files.\n", e)
pass # Inkscape is not installed

build_py.run(self)
Expand Down

0 comments on commit b1bd75e

Please sign in to comment.