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,
|
(path,
|
||||||
[i for i in glob.glob(os.path.join("inkex", "*.inx"))]))
|
[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']))
|
||||||
|
self.distribution.data_files.append((path, ['scripts/boxes_proxy.py']))
|
||||||
else:
|
else:
|
||||||
# we are surely not building a Debian package
|
# we are surely not building a Debian package
|
||||||
# then here is the default behavior:
|
# then here is the default behavior:
|
||||||
|
@ -66,6 +67,7 @@ class CustomBuildExtCommand(build_py):
|
||||||
self.distribution.data_files.append(
|
self.distribution.data_files.append(
|
||||||
(path,
|
(path,
|
||||||
[i for i in glob.glob(os.path.join("inkex", "*.inx"))]))
|
[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']))
|
self.distribution.data_files.append((path, ['scripts/boxes_proxy.py']))
|
||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
pass # Inkscape is not installed
|
pass # Inkscape is not installed
|
||||||
|
|
Loading…
Reference in New Issue