Python3 compat fix
The setuptools really don't like bytes
This commit is contained in:
parent
fdc90ba20d
commit
fb3cc589d9
2
setup.py
2
setup.py
|
@ -19,7 +19,7 @@ class CustomBuildExtCommand(build_py):
|
|||
def run(self):
|
||||
self.execute(self.buildInkscapeExt, ())
|
||||
try:
|
||||
path = check_output(["inkscape", "-x"]).strip()
|
||||
path = check_output(["inkscape", "-x"]).decode().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")
|
||||
|
|
Loading…
Reference in New Issue