This commit is contained in:
@ -47,8 +47,8 @@ class littlebigman(build_exe):
|
|||||||
|
|
||||||
|
|
||||||
def run_littlebigman(self):
|
def run_littlebigman(self):
|
||||||
p = subprocess.Popen(os.path.join(self.build_temp,
|
p = subprocess.Popen("'%s'" % os.path.join(self.build_temp,
|
||||||
'littlebigman'),
|
'littlebigman'),
|
||||||
shell=True,
|
shell=True,
|
||||||
stdout=subprocess.PIPE)
|
stdout=subprocess.PIPE)
|
||||||
little = p.communicate()[0]
|
little = p.communicate()[0]
|
||||||
|
@ -30,7 +30,7 @@ def is_python27(path=None):
|
|||||||
if path is None:
|
if path is None:
|
||||||
pythonversion = LooseVersion(sysconfig.get_python_version())
|
pythonversion = LooseVersion(sysconfig.get_python_version())
|
||||||
else:
|
else:
|
||||||
command = """%s -c 'from distutils import sysconfig; """ \
|
command = """'%s' -c 'from distutils import sysconfig; """ \
|
||||||
"""print sysconfig.get_python_version()'""" % path
|
"""print sysconfig.get_python_version()'""" % path
|
||||||
|
|
||||||
p = subprocess.Popen(command,
|
p = subprocess.Popen(command,
|
||||||
@ -82,7 +82,7 @@ def is_a_virtualenv_python(path=None):
|
|||||||
if path is None:
|
if path is None:
|
||||||
rep = hasattr(sys, 'real_prefix')
|
rep = hasattr(sys, 'real_prefix')
|
||||||
else:
|
else:
|
||||||
command = """%s -c 'import sys; print hasattr(sys,"real_prefix")'""" % path
|
command = """'%s' -c 'import sys; print hasattr(sys,"real_prefix")'""" % path
|
||||||
p = subprocess.Popen(command,
|
p = subprocess.Popen(command,
|
||||||
shell=True,
|
shell=True,
|
||||||
stdout=subprocess.PIPE)
|
stdout=subprocess.PIPE)
|
||||||
|
Reference in New Issue
Block a user