Install both boxes and boxes_proxy into the Inkscape directory

in all cases. Debian and the rest of the world got a bit out of sync.

Resolves:  #537
This commit is contained in:
Florian Festi 2023-02-10 20:34:25 +01:00
parent d511268c74
commit fa1bbf3052
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class CustomBuildExtCommand(build_py):
(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']))
else:
# we are surely not building a Debian package
# then here is the default behavior:
@ -66,6 +67,7 @@ class CustomBuildExtCommand(build_py):
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:
pass # Inkscape is not installed