ease found of perl in windows setup
This commit is contained in:
parent
9c4aa37b8c
commit
01011b3e11
2
setup.py
2
setup.py
@ -68,7 +68,7 @@ def intltool_version():
|
|||||||
cmd = ["perl", "-e print qx(intltool-update --version) =~ m/(\d+.\d+.\d+)/;"]
|
cmd = ["perl", "-e print qx(intltool-update --version) =~ m/(\d+.\d+.\d+)/;"]
|
||||||
try:
|
try:
|
||||||
ver, ret = subprocess.Popen(cmd ,stdout=subprocess.PIPE,
|
ver, ret = subprocess.Popen(cmd ,stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE).communicate()
|
stderr=subprocess.PIPE, shell=True).communicate()
|
||||||
if sys.version_info[0] > 2:
|
if sys.version_info[0] > 2:
|
||||||
ver = ver.decode("utf-8")
|
ver = ver.decode("utf-8")
|
||||||
if ver > "":
|
if ver > "":
|
||||||
|
Loading…
Reference in New Issue
Block a user