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:
parent
d511268c74
commit
fa1bbf3052
2
setup.py
2
setup.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue