From 02b819f51e9e45b0710af63b85429587f4338372 Mon Sep 17 00:00:00 2001 From: Georges Khaznadar Date: Fri, 1 Nov 2019 10:58:17 +0100 Subject: [PATCH] the special setup routine is triggered by the environment variable CURRENTLY_PACKAGING which can be exported by debian/rules --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 680468d..8d9652d 100755 --- a/setup.py +++ b/setup.py @@ -46,9 +46,8 @@ class CustomBuildExtCommand(build_py): self.execute(self.generate_mo_files, ()) self.execute(self.buildInkscapeExt, ()) - if 'FAKEROOTKEY' in os.environ: - # we are probably running under fakeroot - # so we are probably building a Debian package + if 'CURRENTLY_PACKAGING' in os.environ: + # we are most probably building a Debian package # let us define a simple path! path="/usr/share/inkscape/extensions" self.distribution.data_files.append(