Setup.py: Call python interpreter directly to avoid issues on Windows
Fixes #64
This commit is contained in:
parent
65358c9fad
commit
0a25d8dc79
6
setup.py
6
setup.py
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from setuptools.command.build_py import build_py
|
from setuptools.command.build_py import build_py
|
||||||
|
|
||||||
|
@ -10,8 +11,9 @@ class CustomBuildExtCommand(build_py):
|
||||||
"""Customized setuptools install command - prints a friendly greeting."""
|
"""Customized setuptools install command - prints a friendly greeting."""
|
||||||
|
|
||||||
def buildInkscapeExt(self):
|
def buildInkscapeExt(self):
|
||||||
os.system("%s %s" % (os.path.join("scripts", "boxes2inkscape"),
|
os.system("%s %s %s" % (sys.executable,
|
||||||
"inkex"))
|
os.path.join("scripts", "boxes2inkscape"),
|
||||||
|
"inkex"))
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.execute(self.buildInkscapeExt, ())
|
self.execute(self.buildInkscapeExt, ())
|
||||||
|
|
Loading…
Reference in New Issue