mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Use stable version of PIO Core
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user