From 0a25d8dc79552e95fe78dfa1a04221db5b1ce8dd Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 15 Apr 2018 11:51:49 +0200 Subject: [PATCH] Setup.py: Call python interpreter directly to avoid issues on Windows Fixes #64 --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 9d1dc4a..2ea0cdf 100755 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ import glob import os +import sys from setuptools import setup, find_packages from setuptools.command.build_py import build_py @@ -10,8 +11,9 @@ class CustomBuildExtCommand(build_py): """Customized setuptools install command - prints a friendly greeting.""" def buildInkscapeExt(self): - os.system("%s %s" % (os.path.join("scripts", "boxes2inkscape"), - "inkex")) + os.system("%s %s %s" % (sys.executable, + os.path.join("scripts", "boxes2inkscape"), + "inkex")) def run(self): self.execute(self.buildInkscapeExt, ())