diff --git a/setup.py b/setup.py index 93f4f67..4f6a2c5 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ class CustomBuildExtCommand(build_py): def run(self): self.execute(self.buildInkscapeExt, ()) try: - path = check_output(["inkscape", "-x"]) + path = check_output(["inkscape", "-x"]).strip() if not os.access(path, os.W_OK): # Can we install globaly # Not tested on Windows and Mac path = os.path.expanduser("~/.config/inkscape/extensions")