Use stable version of PIO Core

This commit is contained in:
Ivan Kravets
2016-12-08 14:19:47 +02:00
parent ee086ff580
commit 7dcddb295e

View File

@ -114,11 +114,7 @@ def install_platformio():
r = None r = None
cmd = ["-m", "pip.__main__" if sys.version_info < (2, 7, 0) else "pip"] cmd = ["-m", "pip.__main__" if sys.version_info < (2, 7, 0) else "pip"]
try: try:
# r = exec_python_cmd(cmd + ["install", "-U", "platformio"]) r = exec_python_cmd(cmd + ["install", "-U", "platformio"])
r = exec_python_cmd(cmd + [
"install", "-U",
"https://github.com/platformio/platformio-core/archive/develop.zip"
])
assert r['returncode'] == 0 assert r['returncode'] == 0
except AssertionError: except AssertionError:
r = exec_python_cmd(cmd + ["--no-cache-dir", "install", "-U", r = exec_python_cmd(cmd + ["--no-cache-dir", "install", "-U",